BaseCollection<T>.Contains Method
Checks whether an element is contained in the collection.
Namespace: Microsoft.Rtc.Workflow.Utilities
Assembly: Microsoft.Rtc.Workflow (in Microsoft.Rtc.Workflow.dll)
Syntax
'Declaration
Public Function Contains ( _
item As T _
) As Boolean
'Usage
Dim instance As BaseCollection
Dim item As T
Dim returnValue As Boolean
returnValue = instance.Contains(item)
public bool Contains(
T item
)
Parameters
- item
Type: T
The element to search for in the collection.
Return Value
Type: System.Boolean
True if the element is in the collection. False otherwise.