言語

PathFigureCollection.Add(PathFigure) メソッド

定義

コレクションの末尾に PathFigure を追加します。

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

パラメーター

value
PathFigure

コレクションに追加する PathFigure

実装

例外

valuenullです。

PathFigureCollectionは読み取り専用です。

-又は-

PathFigureCollectionには固定サイズがあります。

注釈

PathFigureオブジェクトはFreezableから派生するため、使用するとコピーされます。 そのため、後で、元のPathFigure オブジェクトを使用してコレクションに追加したPathFigureを取得または削除できないことがあります。 コレクション内の PathFigure は元の PathFigure のコピーであり、追加した PathFigure とは異なると見なされます。

この実装では、ArgumentException (Nothing) 参照を追加しようとすると、がスローされます。

適用対象