Redigera

Dela via


ServiceControllerPermissionEntryCollection.OnSet Method

Definition

Performs additional custom processes before setting a value in the collection.

protected:
 override void OnSet(int index, System::Object ^ oldValue, System::Object ^ newValue);
protected override void OnSet (int index, object oldValue, object newValue);
override this.OnSet : int * obj * obj -> unit
Protected Overrides Sub OnSet (index As Integer, oldValue As Object, newValue As Object)

Parameters

index
Int32

The zero-based index at which oldValue can be found.

oldValue
Object

The value to replace with newValue.

newValue
Object

The new value of the permission entry at index.

Applies to