Breyta

Deila með


VectorCollection.Add(Vector) Method

Definition

Adds a Vector to the end of the VectorCollection.

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

Parameters

value
Vector

The Vector to add to the end of the VectorCollection.

Implements

Exceptions

value is null.

The VectorCollection is read-only.

-or-

The VectorCollection 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