Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines if the IReadOnlyPropertyCollection contains an element with the specified key.
Namespace: Microsoft.Office.Server.Search.Query
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Function ContainsKey ( _
key As String _
) As Boolean
'Usage
Dim instance As IReadOnlyPropertyCollection
Dim key As String
Dim returnValue As Boolean
returnValue = instance.ContainsKey(key)
bool ContainsKey(
string key
)
Parameters
key
Type: System.StringThe key to locate in the object.
Return value
Type: System.Boolean
true if a property with that key can be accessed by using the bag; otherwise; false.
See also
Reference
IReadOnlyPropertyCollection interface