Język

TransformCollection.Add(Transform) Metoda

Definicja

Dodaje element Transform na końcu elementu TransformCollection.

public:
 virtual void Add(System::Windows::Media::Transform ^ value);
public void Add(System.Windows.Media.Transform value);
abstract member Add : System.Windows.Media.Transform -> unit
override this.Add : System.Windows.Media.Transform -> unit
Public Sub Add (value As Transform)

Parametry

value
Transform

Element Transform do dodania na końcu elementu TransformCollection.

Implementuje

Wyjątki

Parametr value ma wartość null.

Element TransformCollection jest tylko do odczytu.

— lub —

Element TransformCollection ma stały rozmiar.

Uwagi

W przeciwieństwie do typowych implementacji ICollection<T>.Addprogramu ta implementacja zgłasza błąd ArgumentException w przypadku próby dodania odwołania o wartości null (nic).

Dotyczy

Zobacz też