Share via


StylusPluginCollectionBase.OnSet Method

StylusPluginCollectionBase.OnSet Method

This class supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.

Definition

Visual Basic .NET Overrides Protected Sub OnSet( _
ByVal index As Integer, _
ByVal oldValue As Object, _
ByVal newValue As Object _
)
C# protected override void OnSet(
int index,
object oldValue,
object newValue
);
Managed C++ protected: void OnSet(
int *index,
Object *oldValue,
Object *newValue
);

Parameters

index System.Int32.
oldValue System.Object.
newValue System.Object.

Exceptions

ArgumentException Leave Site: The newValue is already a member of the collection, or the newValue and oldValue are the same.
ArgumentException Leave Site: The newValue is already a member of the collection, or the newValue and oldValue are the same.