Editar

Partilhar via


TransformCollection.Add(Transform) Method

Definition

Adds a Transform to the end of the 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)

Parameters

value
Transform

The Transform to add to the end of the TransformCollection.

Implements

Exceptions

value is null.

The TransformCollection is read-only.

-or-

The TransformCollection has a fixed size.

Remarks

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

Applies to

See also