StylusPointCollection::InsertItem Method (Int32, StylusPoint)

 

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

Inserts the specified StylusPoint into the StylusPointCollection at the specified position.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

protected:
virtual void InsertItem(
	int index,
	StylusPoint stylusPoint
) override sealed

Parameters

index
Type: System::Int32

The position at which to insert the StylusPoint.

stylusPoint
Type: System.Windows.Input::StylusPoint

The StylusPoint to insert into the StylusPointCollection.

Exception Condition
ArgumentException

The StylusPointDescription of stylusPoint is not compatible with the Description property.

ArgumentOutOfRangeException

index is greater or equal to the number of StylusPoint objects in the StylusPointCollection.

.NET Framework
Available since 3.0
Return to top
Show: