Méthode Contains (Int32)
Verifies whether an object with the specified ID value exists in the collection.
Espace de noms : Microsoft.SqlServer.Management.Dmf
Assembly : Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Syntaxe
'Déclaration
Public Function Contains ( _
id As Integer _
) As Boolean
'Utilisation
Dim instance As EvaluationDetailCollection
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
Paramètres
- id
Type : System. . :: . .Int32
The Int32 value that is to be found in the collection.
Valeur de retour
Type : 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.
Notes
Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.