DataRelationCollection.Contains Method (String)


Verifies whether a DataRelation with the specific name (case insensitive) exists in the collection.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

abstract Contains : 
        name:string -> bool
override Contains : 
        name:string -> bool


Type: System.String

The name of the relation to find.

Return Value

Type: System.Boolean

true, if a relation with the specified name exists; otherwise false.

.NET Framework
Available since 1.1
Return to top