Bewerken

Delen via


GeneralTransformCollection.Insert(Int32, GeneralTransform) Method

Definition

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

public:
 virtual void Insert(int index, System::Windows::Media::GeneralTransform ^ value);
public void Insert (int index, System.Windows.Media.GeneralTransform value);
abstract member Insert : int * System.Windows.Media.GeneralTransform -> unit
override this.Insert : int * System.Windows.Media.GeneralTransform -> unit
Public Sub Insert (index As Integer, value As GeneralTransform)

Parameters

index
Int32

The zero-based index position to insert the object.

value
GeneralTransform

The object to insert.

Implements

Exceptions

value is null.

index is not a valid index in the GeneralTransformCollection.

The GeneralTransformCollection is read-only.

-or-

The GeneralTransformCollection has a fixed size.

Remarks

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

Applies to

See also