DataRelationCollection.RemoveCore(DataRelation) Method

Definition

Performs a verification on the specified DataRelation object.

protected:
 virtual void RemoveCore(System::Data::DataRelation ^ relation);
protected virtual void RemoveCore (System.Data.DataRelation relation);
abstract member RemoveCore : System.Data.DataRelation -> unit
override this.RemoveCore : System.Data.DataRelation -> unit
Protected Overridable Sub RemoveCore (relation As DataRelation)

Parameters

relation
DataRelation

The DataRelation object to verify.

Exceptions

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

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

Applies to

See also