ManagedPropertyFilterGenerator.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 ( _
fc As FilterCategory, _
propValues As StringCollection, _
<OutAttribute> ByRef url As String _
) As Boolean
'Usage
Dim fc As FilterCategory
Dim propValues As StringCollection
Dim url As String
Dim returnValue As Boolean
returnValue = Me.GetUrl(fc, propValues, _
url)
protected bool GetUrl(
FilterCategory fc,
StringCollection propValues,
out string url
)
Parameters
fc
Type: Microsoft.Office.Server.Search.WebControls.FilterCategoryThe filter category that stores the information about the managed property.
propValues
Type: System.Collections.Specialized.StringCollectionThe filtering managed property values.
url
Type: System.StringWhen this method returns, contains a URL that redirects the user to the filter results page.
Return Value
Type: System.Boolean
true if the resulting URL selects the filter; false if the resulting URL clears the filter.
Remarks
If the filter string already contains the filter specified by fc and propValues, this method clears this filter; otherwise, this method appends the filter to the filter string.
See Also
Reference
ManagedPropertyFilterGenerator Class