Sage.UrlGenerator.GetUrl C# (CSharp) Method

GetUrl() public method

Generates the specified link, using the name/value pairs from the specified query to format it.
public GetUrl ( string linkName, NameValueCollection query = null, string hashString = null, bool qualify = false ) : string
linkName string The name of the link to get.
query System.Collections.Specialized.NameValueCollection The query to use for formatting the link.
hashString string The browser hash string to append to the end of the URL.
qualify bool If set to true the resulting URL will be prefixed with .
return string
        public string GetUrl(string linkName, NameValueCollection query = null, string hashString = null, bool qualify = false)
        {
            return this.FormatAndRewriteUrl(linkName, query, hashString, qualify);
        }

Same methods

UrlGenerator::GetUrl ( XmlElement linkElement ) : string
UrlGenerator::GetUrl ( string linkName, string query, string hashString = null, bool qualify = false ) : string