Share via


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.String

    Name of a property of a KeywordQueryProperties object.

See also

Reference

KeywordQueryProperties class

KeywordQueryProperties members

Microsoft.SharePoint.Client.Search.Query namespace