次の方法で共有


DataRelationCollection.RemoveAt メソッド

指定したインデックス位置にあるリレーションシップをコレクションから削除します。

Public Sub RemoveAt( _
   ByVal index As Integer _)
[C#]
public void RemoveAt(intindex);
[C++]
public: void RemoveAt(intindex);
[JScript]
public function RemoveAt(
   index : int);

パラメータ

  • index
    削除するリレーションシップのインデックス。

例外

例外の種類 条件
ArgumentException このコレクションには指定したインデックス位置にリレーションシップがありません。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET

参照

DataRelationCollection クラス | DataRelationCollection メンバ | System.Data 名前空間