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