Freigeben über


SfcDictionaryCollection<T, K, ParentT>.Contains-Methode (K)

Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Overrides Function Contains ( _
    key As K _
) As Boolean
'Usage
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

Parameter

  • key
    Typ: K
    The key object in the collection.

Rückgabewert

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

Siehe auch

Verweis

SfcDictionaryCollection<T, K, ParentT> Klasse

Contains-Überladung

Microsoft.SqlServer.Management.Sdk.Sfc-Namespace