TransformCollection.Insert(Int32, Transform) Metoda

Definice

Vloží do Transform zadaného indexu TransformCollection .

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

Parametry

index
Int32

Index založený na nule, do kterého value se má vložit.

value
Transform

Vložte Transform ho do .TransformCollection

Implementuje

Výjimky

value je null.

index není platný index v objektu TransformCollection.

Je TransformCollection jen pro čtení.

nebo

TransformCollection pevnou velikost.

Poznámky

Na rozdíl od typických IList<T>.Insertimplementací , tato implementace vyvolá ArgumentException , pokud se pokusíte vložit odkaz null (Nothing).

Platí pro

Viz také