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 MustOverride Function Contains ( _
    obj As T _
) As Boolean
'Uso
Dim instance As SfcCollection
Dim obj As T
Dim returnValue As Boolean

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

Parâmetros

  • obj
    Tipo: T
    The object to find.

Valor de retorno

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

Implementa

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