Freigeben über


SfcListCollection<T, K, ParentT>.Contains-Methode (T)

Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Overrides Function Contains ( _
    obj As T _
) As Boolean
'Usage
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

Parameter

  • obj
    Typ: T
    The item to be added.

Rückgabewert

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

Implementiert

ICollection<T>.Contains(T)

Siehe auch

Verweis

SfcListCollection<T, K, ParentT> Klasse

Contains-Überladung

Microsoft.SqlServer.Management.Sdk.Sfc-Namespace