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 whether the collection contains the specified key.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function Contains ( _
id As Key _
) As Boolean
'Usage
Dim instance As UpdatableCollection
Dim id As Key
Dim returnValue As Boolean
returnValue = instance.Contains(id)
public bool Contains(
Key id
)
Parameters
id
Type: KeyThe key to locate.
Return Value
Type: System.Boolean
true if the collection contains the specified key; otherwise, false.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | id is null . |
Remarks
This method calls the ContainsKey method on the values property that contains the collection.
See Also
Reference
UpdatableCollection<Key, T> Class