BaseCollection.OnSet Method (Int32, Object, Object)
Performs custom processes before setting the value of an item in the collection.
Namespace: Microsoft.ManagementConsole
Assembly: Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)
Syntax
protected override void OnSet(
int index,
object oldValue,
object newValue
)
protected:
virtual void OnSet(
int index,
Object^ oldValue,
Object^ newValue
) override
override OnSet :
index:int *
oldValue:Object *
newValue:Object -> unit
Protected Overrides Sub OnSet (
index As Integer,
oldValue As Object,
newValue As Object
)
Parameters
index
Type: System.Int32The zero-based index of the item.
oldValue
Type: System.ObjectThe old value of the item.
newValue
Type: System.ObjectThe new value of the item.
See Also
BaseCollection Class
Microsoft.ManagementConsole Namespace
Return to top