SfcCollatedDictionaryCollection<T, K, ParentT>.Contains 方法 (T)

Determines whether the collection contains the specified object. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Public Overrides Function Contains ( _
    obj As T _
) As Boolean
用法
Dim instance As SfcCollatedDictionaryCollection 
Dim obj As T
Dim returnValue As Boolean 

returnValue = instance.Contains(obj)
public override bool Contains(
    T obj
)
public:
virtual bool Contains(
    T obj
) override
abstract Contains : 
        obj:'T -> bool  
override Contains : 
        obj:'T -> bool
public override function Contains(
    obj : T
) : boolean

参数

  • obj
    类型:T
    The object to find in the collection.

返回值

类型:System.Boolean
true if the collection contains the object; otherwise, false.

实现

ICollection<T>.Contains(T)

请参阅

参考

SfcCollatedDictionaryCollection<T, K, ParentT> 类

Contains 重载

Microsoft.SqlServer.Management.Sdk.Sfc 命名空间