Delen via


EvaluationDetailCollection.Contains Method (Int32)

Verifies whether an object with the specified ID value exists in the collection.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public Function Contains ( _
    id As Integer _
) As Boolean
'Usage
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

Parameters

Return Value

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.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Examples

Using Collections

See Also

Reference

EvaluationDetailCollection Class

Contains Overload

Microsoft.SqlServer.Management.Dmf Namespace