ISharePointCollection<T>.Contains 方法

获取提供的项是否为此集合的成员。

命名空间:  Microsoft.VisualStudio.SharePoint
程序集:  Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)

语法

声明
Function Contains ( _
    item As T _
) As Boolean
bool Contains(
    T item
)

参数

  • item
    类型:T
    要检查其是否包含在集合中的项。

返回值

类型:System.Boolean
如果项属于集合,则为 True;否则为 false。

.NET Framework 安全性

请参见

参考

ISharePointCollection<T> 接口

Microsoft.VisualStudio.SharePoint 命名空间