語言

PointCollection.Add(Point) 方法

定義

將 Point 加入 PointCollection結尾。

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

參數

value
Point

在 的結尾Point加了 PointCollection 。

實作

例外狀況

value 是 null。

這是 PointCollection 唯讀的。

-或-

它 PointCollection 有固定尺寸。

備註

與典型的 實ICollection<T>.Add作不同,這個實作會在你嘗試加入ArgumentExceptionNothing)參考時拋出 。

適用於

另請參閱