Metodo IReadOnlyCollection<T>.Contains

Determines whether the specified item is contained in the collection.

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

Sintassi

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

Parametri

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

Valore restituito

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

Vedere anche

Riferimento

IReadOnlyCollection<T> Interfaccia

Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc