Метод 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 ConditionCollection
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
Returns Boolean which is true if the specified string exists in the collection, otherwise false..
Замечания
Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.