Share via


QueryProperties.TryGetValue method

NOTE: This API is now obsolete.

Namespace:  Microsoft.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
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)
[ObsoleteAttribute("This class is obsolete.")]
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.SharePoint.Search.Query namespace