Partilhar via


Método Contains (String)

Determines whether the collection contains an element that has the specified name.

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

Sintaxe

'Declaração
Function Contains ( _
    name As String _
) As Boolean
'Uso
Dim instance As IMetadataCollection
Dim name As String
Dim returnValue As Boolean

returnValue = instance.Contains(name)
bool Contains(
    string name
)
bool Contains(
    String^ name
)
abstract Contains : 
        name:string -> bool 
function Contains(
    name : String
) : boolean

Parâmetros

Valor de retorno

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