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)

public:
virtual bool Contains(
	String^ name
)

Parameters

name
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
Show: