Share via


Switcher.WidgetsCollection.OnSetComplete Method

Performs additional custom processes after setting a value in the Switcher.WidgetsCollection instance.

Namespace:  Microsoft.SqlServer.Management.Controls
Assembly:  Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)

Syntax

'Declaration
Protected Overrides Sub OnSetComplete ( _
    index As Integer, _
    oldValue As Object, _
    newValue As Object _
)
'Usage
Dim index As Integer
Dim oldValue As Object
Dim newValue As Object

Me.OnSetComplete(index, oldValue, _
    newValue)
protected override void OnSetComplete(
    int index,
    Object oldValue,
    Object newValue
)
protected:
virtual void OnSetComplete(
    int index, 
    Object^ oldValue, 
    Object^ newValue
) override
abstract OnSetComplete : 
        index:int * 
        oldValue:Object * 
        newValue:Object -> unit 
override OnSetComplete : 
        index:int * 
        oldValue:Object * 
        newValue:Object -> unit 
protected override function OnSetComplete(
    index : int, 
    oldValue : Object, 
    newValue : Object
)

Parameters

  • index
    Type: System.Int32
    The zero-based index at which oldValue can be found.
  • oldValue
    Type: System.Object
    The value to replace with newValue.
  • newValue
    Type: System.Object
    The new value of the element at the index.