ISharePointCollection<T>.Contains Method
Gets whether the provided item is a member of this collection.
Namespace: Microsoft.VisualStudio.SharePoint
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Function Contains ( _
item As T _
) As Boolean
bool Contains(
T item
)
Parameters
item
Type: TThe item to check whether it is in the collection.
Return Value
Type: Boolean
True if the item belongs to the collection; false otherwise.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.