Contains Método (Int32)
Verifies whether the an object with the specified ID value exists in the collection.
Espacio de nombres: Microsoft.SqlServer.Management.Dmf
Ensamblado: Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Sintaxis
'Declaración
Public Function Contains ( _
id As Integer _
) As Boolean
'Uso
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
Parámetros
- id
Tipo: System. . :: . .Int32
The Int32 value that is to be found in the collection.
Valor devuelto
Tipo: 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.
Comentarios
Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.