Méthode Contains (K)

Determines whether the collection contains the specified key. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public MustOverride Function Contains ( _
    key As K _
) As Boolean
'Utilisation
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

Paramètres

  • key
    Type : K
    The key to find.

Valeur de retour

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