KeywordQueryProperties.SetQueryPropertyValue method
Sets the value of a property based on the specified name.
Namespace: Microsoft.SharePoint.Client.Search.Query
Assembly: Microsoft.SharePoint.Client.Search (in Microsoft.SharePoint.Client.Search.dll)
Syntax
'Declaration
Public Sub SetQueryPropertyValue ( _
name As String, _
val As QueryPropertyValue _
)
'Usage
Dim instance As KeywordQueryProperties
Dim name As String
Dim val As QueryPropertyValue
instance.SetQueryPropertyValue(name, _
val)
public void SetQueryPropertyValue(
string name,
QueryPropertyValue val
)
Parameters
name
Type: System.StringName of a property of a KeywordQueryProperties object.
val
Type: Microsoft.SharePoint.Client.Search.Query.QueryPropertyValueValue of the property to be set in the KeywordQueryProperties object.