Metodo SfcCollection<T, K, ParentT>.Contains (K)

Determines whether the collection contains the specified key.

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

Sintassi

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

Parametri

  • key
    Tipo: K
    The key to find.

Valore restituito

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

Vedere anche

Riferimento

SfcCollection<T, K, ParentT> Classe

Overload Contains

Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc