Bearbeiten

Freigeben über


ServiceDescriptionBaseCollection.OnRemove(Int32, Object) Method

Definition

Removes an element from the 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)

Parameters

index
Int32

The zero-based index of the value parameter to be removed.

value
Object

The element to remove from the collection.

Remarks

This method is intended to be overridden to perform additional processes, such as validation, when an element is removed from the collection.

This protected method is accessible only through this class or a derived class.

Applies to