Méthode Contains (String)
Determines whether the collection contains an element that has the specified name.
Espace de noms : Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly : Microsoft.SqlServer.Management.SqlParser (en Microsoft.SqlServer.Management.SqlParser.dll)
Syntaxe
'Déclaration
Function Contains ( _
name As String _
) As Boolean
'Utilisation
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
Paramètres
- name
Type : System. . :: . .String
The name of the element to locate in the collection.
Valeur de retour
Type : System. . :: . .Boolean
true if the collection contains the element; otherwise, false.