Partager via


Méthode Contains (T)

Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public Overrides Function Contains ( _
    obj As T _
) As Boolean
'Utilisation
Dim instance As SfcListCollection
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

Paramètres

  • obj
    Type : T
    The item to be added.

Valeur de retour

Type : System. . :: . .Boolean
true if the item is found in the collection; otherwise, false.

Implémente

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