共用方式為


TaxonomyFilterGenerator.GetUrl Method

Gets the URL that redirects the user to the filter results page.

Namespace:  Microsoft.Office.Server.Search.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Protected Function GetUrl ( _
    filterName As String, _
    filterInfo As MetadataFilterValue, _
    <OutAttribute> ByRef url As String _
) As String
'Usage
Dim filterName As String
Dim filterInfo As MetadataFilterValue
Dim url As String
Dim returnValue As String

returnValue = Me.GetUrl(filterName, _
    filterInfo, url)
protected string GetUrl(
    string filterName,
    MetadataFilterValue filterInfo,
    out string url
)

Parameters

  • filterName
    Type: System.String

    The name of the filter to create a new URL.

  • url
    Type: System.String

    When this method returns, contains a URL that redirects the user to the filter results page.

Return Value

Type: System.String
The current state of the generated URL.

Remarks

If the filterInfo parameter is null , this method removes all filters for getting the results, otherwise, this method creates a filter based on the specified value.

See Also

Reference

TaxonomyFilterGenerator Class

TaxonomyFilterGenerator Members

Microsoft.Office.Server.Search.WebControls Namespace