Share via


QueryProperties.TryGetValue method

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

Syntax

'Declaration
Public Function TryGetValue ( _
    key As String, _
    <OutAttribute> ByRef value As Object _
) As Boolean
'Usage
Dim instance As QueryProperties
Dim key As String
Dim value As Object
Dim returnValue As Boolean

returnValue = instance.TryGetValue(key, _
    value)
public bool TryGetValue(
    string key,
    out Object value
)

Parameters

Return value

Type: System.Boolean

Implements

IPropertyCollection.TryGetValue(String, Object)
IReadOnlyPropertyCollection.TryGetValue(String, Object)

See also

Reference

QueryProperties class

QueryProperties members

Microsoft.Office.Server.Search.Query namespace