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

Determines whether the collection contains the specified key.

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

语法

声明
Public MustOverride Function Contains ( _
    key As K _
) As Boolean
用法
Dim instance As SfcCollection 
Dim key As K
Dim returnValue As Boolean 

returnValue = instance.Contains(key)
public abstract bool Contains(
    K key
)
public:
virtual bool Contains(
    K key
) abstract
abstract Contains : 
        key:'K -> bool
public abstract function Contains(
    key : K
) : boolean

参数

  • key
    类型:K
    The key to find.

返回值

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

请参阅

参考

SfcCollection<T, K, ParentT> 类

Contains 重载

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