Partilhar via


Método Contains (T)

Determines whether the collection contains the specified object.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (em Microsoft.SqlServer.Management.SqlParser.dll)

Sintaxe

'Declaração
Function Contains ( _
    item As T _
) As Boolean
'Uso
Dim instance As IMetadataCollection
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 de retorno

Tipo: System. . :: . .Boolean
true if the collection contains the element; otherwise, false.