IReadOnlyObservableSet<T>.Contains 方法 (T)

Determines whether the IReadOnlyObservableSet<T> contains a specific value.

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

语法

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

参数

  • item
    类型:T
    The object to locate in the set.

返回值

类型:System.Boolean
true if the object is found in the set, otherwise false.

.NET Framework 安全性

请参见

参考

IReadOnlyObservableSet<T> 接口

Contains 重载

Microsoft.VisualStudio.Shell 命名空间