IReadOnlyCollection<T>.Contains Método
Determines whether the specified item is contained in the collection.
Espacio de nombres: Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado: Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxis
'Declaración
Function Contains ( _
item As T _
) As Boolean
'Uso
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
Parámetros
- item
Tipo: T
The object to locate in the collection.
Valor devuelto
Tipo: System.Boolean
true if the item is found in the collection; otherwise, false.