System.Web.Services.Description.ServiceDescriptionBaseCollection.OnSet Method

Replaces one value with another within the System.Web.Services.Description.ServiceDescriptionBaseCollection.

Syntax

protected override void OnSet (int index, object oldValue, object newValue)

Parameters

index
The zero-based index where the oldValue parameter can be found.
oldValue
The object to replace with the newValue parameter.
newValue
The object that replaces the oldValue parameter.

Remarks

The default implementation of this method is intended to be overridden to perform additional processes, such as validation, when setting the value of an element in the collection. This protected method is accessible only through this class or a derived class.

Requirements

Namespace: System.Web.Services.Description
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0