GeneralTransformCollection.Insert(Int32, GeneralTransform) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Remarks
Unlike typical implementations of IList<T>.Insert, this implementation throws an ArgumentException if you attempt to insert a null (Nothing) reference.