Freigeben über


IReadOnlyCollection<T>.Contains-Methode

Determines whether the specified item is contained in the collection.

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

Syntax

'Declaration
Function Contains ( _
    item As T _
) As Boolean
'Usage
Dim instance As IReadOnlyCollection 
Dim item As T
Dim returnValue As Boolean 

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

Parameter

  • item
    Typ: T
    The object to locate in the collection.

Rückgabewert

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

Siehe auch

Verweis

IReadOnlyCollection<T> Schnittstelle

Microsoft.SqlServer.Management.Sdk.Sfc-Namespace