Metodo SfcReferenceCollection<K, T, S>.Contains

Determines whether this collection contains an element with the specified value.

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

Sintassi

'Dichiarazione
Public Function Contains ( _
    item As T _
) As Boolean
'Utilizzo
Dim instance As SfcReferenceCollection 
Dim item As T
Dim returnValue As Boolean 

returnValue = instance.Contains(item)
public bool Contains(
    T item
)
public:
virtual bool Contains(
    T item
) sealed
abstract Contains : 
        item:'T -> bool  
override Contains : 
        item:'T -> bool
public final function Contains(
    item : T
) : boolean

Parametri

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

Valore restituito

Tipo: System.Boolean
true if the collection contains an element with the specified value; otherwise, false.

Implementa

IReadOnlyCollection<T>.Contains(T)

Vedere anche

Riferimento

SfcReferenceCollection<K, T, S> Classe

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