Compartilhar via


Método Contains (T)

Determines whether the collection contains the specified object. 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 ( _
    obj As T _
) As Boolean
'Uso
Dim instance As SfcCollatedDictionaryCollection
Dim obj As T
Dim returnValue As Boolean

returnValue = instance.Contains(obj)
public override bool Contains(
    T obj
)
public:
virtual bool Contains(
    T obj
) override
abstract Contains : 
        obj:'T -> bool 
override Contains : 
        obj:'T -> bool 
public override function Contains(
    obj : T
) : boolean

Parâmetros

  • obj
    Tipo: T
    The object to find in the collection.

Valor de retorno

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

Implementa

ICollection< (Of < ( <'T> ) > ) >. . :: . .Contains(T)