ISharePointCollection<T>.Contains Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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: System.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.