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
key
Type: System.StringThe object key to locate.
value
Type: System.ObjectThe value of the specified object in the collection.
Return value
Type: System.Boolean