Compartilhar via


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.Int32

    The zero-based index of the item.

See Also

BaseCollection Class
Microsoft.ManagementConsole Namespace

Return to top