PerformanceCounterPermissionEntryCollection.OnSet Method      
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.