Share via


ServiceDescriptionBaseCollection.OnRemove(Int32, Object) 方法

定義

ServiceDescriptionBaseCollection 移除項目。

protected:
 override void OnRemove(int index, System::Object ^ value);
protected override void OnRemove (int index, object value);
override this.OnRemove : int * obj -> unit
Protected Overrides Sub OnRemove (index As Integer, value As Object)

參數

index
Int32

要移除的 value 參數的以零起始的索引。

value
Object

要從集合中移除的項目。

備註

當專案從集合中移除時,這個方法的目的是要覆寫以執行其他進程,例如驗證。

這個受保護的方法只能透過這個類別或衍生類別來存取。

適用於