次の方法で共有


ServiceDescriptionBaseCollection.OnRemove メソッド

ServiceDescriptionBaseCollection から要素を削除します。

Overrides Protected Sub OnRemove( _
   ByVal index As Integer, _   ByVal value As Object _)
[C#]
protected override void OnRemove(intindex,objectvalue);
[C++]
protected: void OnRemove(intindex,Object* value);
[JScript]
protected override function OnRemove(
   index : int,value : Object);

パラメータ

  • index
    削除する value パラメータの 0 から始まるインデックス番号。
  • value
    コレクションから削除する要素。

解説

このメソッドは、要素がコレクションから削除されるときに、検証などの追加のプロセスを実行する場合にオーバーライドされます。

このプロテクト メソッドには、このクラスまたは派生クラスからでなければアクセスできません。

必要条件

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

参照

ServiceDescriptionBaseCollection クラス | ServiceDescriptionBaseCollection メンバ | System.Web.Services.Description 名前空間