This documentation is archived and is not being maintained.

DataRelationCollection.RemoveCore Method

Performs a verification on the specified DataRelation object.

[Visual Basic]
Protected Overridable Sub RemoveCore( _
   ByVal relation As DataRelation _
protected virtual void RemoveCore(
 DataRelation relation
protected: virtual void RemoveCore(
 DataRelation* relation
protected function RemoveCore(
   relation : DataRelation


The DataRelation object to verify.


Exception Type 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.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

DataRelationCollection Class | DataRelationCollection Members | System.Data Namespace