Share via


IPropertyCollection.TryGetValue method

Determines if there is an object in the collection that matches the key and the value.

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

Syntax

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

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

Parameters

  • value
    Type: System.Object

    The value of the specified object in the collection.

Return value

Type: System.Boolean

See also

Reference

IPropertyCollection interface

IPropertyCollection members

Microsoft.Office.Server.Search.Query namespace