Метод Contains (Int32)
Verifies whether the an object with 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 ConnectionEvaluationHistoryCollection
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 object value that specifies whether the referenced object is in the collection. If True, it exists in the collection. Otherwise, False.
Замечания
Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.