Método ReadOnlyList<T>.Contains
Indicates whether the list contains a specific value.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxe
'Declaração
Public Function Contains ( _
item As T _
) As Boolean
'Uso
Dim instance As ReadOnlyList
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
Parâmetros
- item
Tipo: T
The object to locate in the list.
Valor de retorno
Tipo: System.Boolean
True if an item is found in the list; otherwise, false.
Implementa
IReadOnlyCollection<T>.Contains(T)