Edit

Share via


GeneralTransform3DCollection.Insert(Int32, GeneralTransform3D) Method

Definition

Inserts a GeneralTransform3D object into the specified index position within the collection.

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

Parameters

index
Int32

The zero-based index position to insert the object.

value
GeneralTransform3D

The object to insert.

Implements

Exceptions

value is null.

index is not a valid index in the collection.

The collection is read-only.

-or-

The collection has a fixed size.

Remarks

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

Insert is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.

Applies to

See also