共用方式為


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