RemoveCore Method

DataRelationCollection.RemoveCore Method (DataRelation)

 

Performs a verification on the specified DataRelation object.

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

protected virtual void RemoveCore(
	DataRelation relation
)

Parameters

relation
Type: System.Data.DataRelation

The DataRelation object to verify.

Exception Condition
ArgumentNullException

The collection does not have a relation at the specified index.

ArgumentException

The specified relation does not belong to this collection, or it belongs to another collection.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft