Export (0) Print
Expand All

GeneralTransformCollection.Insert Method

Inserts a GeneralTransform object into the specified index position within the GeneralTransformCollection.

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

public void Insert(
	int index,
	GeneralTransform value
)

Parameters

index
Type: System.Int32

The zero-based index position to insert the object.

value
Type: System.Windows.Media.GeneralTransform

The object to insert.

Implements

IList<T>.Insert(Int32, T)

ExceptionCondition
ArgumentException

value is null.

ArgumentOutOfRangeException

index is not a valid index in the GeneralTransformCollection.

NotSupportedException

The GeneralTransformCollection is read-only.

- or -

The GeneralTransformCollection has a fixed size.

Unlike typical implementations of IList<T>.Insert, this implementation throws an ArgumentException if you attempt to insert a null (Nothing) reference.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft