Contains Método (T)

Determines whether the collection contains the specified object. 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 ( _
    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 devuelto

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

Implementa

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