Partilhar via


Método SfcDictionaryCollection<T, K, ParentT>.Contains (K)

Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.

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

Sintaxe

'Declaração
Public Overrides Function Contains ( _
    key As K _
) As Boolean
'Uso
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

Parâmetros

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

Valor de retorno

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

Consulte também

Referência

SfcDictionaryCollection<T, K, ParentT> Classe

Sobrecarregado Contains

Namespace Microsoft.SqlServer.Management.Sdk.Sfc