Condividi tramite


Metodo Contains (K)

Determines whether the collection contains the specified key. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Public Overrides Function Contains ( _
    key As K _
) As Boolean
'Utilizzo
Dim instance As SfcCollatedDictionaryCollection
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

Parametri

  • key
    Tipo: K
    The key to find in the collection.

Valore restituito

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