Compartir a través de


Contains Método (K)

Determines whether the collection contains the specified key. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.

Espacio de nombres:  Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado:  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxis

'Declaración
Public Overrides Function Contains ( _
    key As K _
) As Boolean
'Uso
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

Parámetros

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

Valor devuelto

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