Condividi tramite


Metodo Contains (T)

Determines whether the collection contains the specified object. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Public MustOverride Function Contains ( _
    obj As T _
) As Boolean
'Utilizzo
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

Parametri

  • obj
    Tipo: T
    The object to find.

Valore restituito

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

Implementa

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