共用方式為


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

不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public Overrides Function Contains ( _
    key As K _
) As Boolean
'用途
Dim instance As SfcDictionaryCollection 
Dim key As K
Dim returnValue As Boolean 

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

參數

  • key
    型別:K
    The key object in the collection.

傳回值

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

請參閱

參考

SfcDictionaryCollection<T, K, ParentT> 類別

Contains 多載

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