TaxonomyFilterGenerator.ConstructQueryString Method
Constructs a query string for the specified property.
Namespace: Microsoft.Office.Server.Search.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Shared Function ConstructQueryString ( _
propertyId As String, _
value As String, _
includeDescendents As Boolean _
) As String
'Usage
Dim propertyId As String
Dim value As String
Dim includeDescendents As Boolean
Dim returnValue As String
returnValue = TaxonomyFilterGenerator.ConstructQueryString(propertyId, _
value, includeDescendents)
public static string ConstructQueryString(
string propertyId,
string value,
bool includeDescendents
)
Parameters
propertyId
Type: System.StringThe property ID.
value
Type: System.StringThe property value.
includeDescendents
Type: System.Booleantrue to include descendants of the specified property in the query string; otherwise, false.
Return Value
Type: System.String
A query string for the specified property.
Remarks
This method constructs a query string for a property with the specified ID and value.