Метод Contains (String)
Determines whether the collection contains an element that has the specified name.
Пространство имен: Microsoft.SqlServer.Management.SqlParser.Metadata
Сборка: Microsoft.SqlServer.Management.SqlParser (в Microsoft.SqlServer.Management.SqlParser.dll)
Синтаксис
'Декларация
Function Contains ( _
name As String _
) As Boolean
'Применение
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
Параметры
- name
Тип: System. . :: . .String
The name of the element to locate in the collection.
Возвращаемое значение
Тип: System. . :: . .Boolean
true if the collection contains the element; otherwise, false.