Share via


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: T
    The 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

See Also

Reference

ISharePointCollection<T> Interface

Microsoft.VisualStudio.SharePoint Namespace