This documentation is archived and is not being maintained.
ServiceDescriptionBaseCollection.OnSet Method
.NET Framework 1.1
Replaces one value with another within the ServiceDescriptionBaseCollection.
[Visual Basic] Overrides Protected Sub OnSet( _ ByVal index As Integer, _ ByVal oldValue As Object, _ ByVal newValue As Object _ ) [C#] protected override void OnSet( int index, object oldValue, object newValue ); [C++] protected: void OnSet( int index, Object* oldValue, Object* newValue ); [JScript] protected override function OnSet( index : int, oldValue : Object, newValue : Object );
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
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also
ServiceDescriptionBaseCollection Class | ServiceDescriptionBaseCollection Members | System.Web.Services.Description Namespace
Show: