Метод Contains (String)
Verifies whether the specified string exists in the collection.
Пространство имен: Microsoft.SqlServer.Management.Dmf
Сборка: Microsoft.SqlServer.Dmf (в Microsoft.SqlServer.Dmf.dll)
Синтаксис
'Декларация
Public Function Contains ( _
name As String _
) As Boolean
'Применение
Dim instance As ObjectSetCollection
Dim name As String
Dim returnValue As Boolean
returnValue = instance.Contains(name)
public bool Contains(
string name
)
public:
bool Contains(
String^ name
)
member Contains :
name:string -> bool
public function Contains(
name : String
) : boolean
Параметры
- name
Тип: System. . :: . .String
The String value that is to be found in the collection.
Возвращаемое значение
Тип: System. . :: . .Boolean
A Boolean value that specifies whether the specified string exists in the collection. If True, the key values are equal. Otherwise, False.
Замечания
Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.