PathSegmentCollection 建構函式

定義

初始化 PathSegmentCollection 類別的新執行個體。

多載

PathSegmentCollection()

初始化 PathSegmentCollection 類別的新執行個體。

PathSegmentCollection(IEnumerable<PathSegment>)

使用指定的 PathSegmentCollection 物件集合,初始化 PathSegment 類別的新執行個體。

PathSegmentCollection(Int32)

使用指定的容量,或該集合一開始可供存放的 PathSegmentCollection 物件數目,初始化 PathSegment 類別的新執行個體。

PathSegmentCollection()

初始化 PathSegmentCollection 類別的新執行個體。

public PathSegmentCollection ();

適用於

PathSegmentCollection(IEnumerable<PathSegment>)

使用指定的 PathSegmentCollection 物件集合,初始化 PathSegment 類別的新執行個體。

public PathSegmentCollection (System.Collections.Generic.IEnumerable<System.Windows.Media.PathSegment> collection);

參數

collection
IEnumerable<PathSegment>

組成 PathSegmentPathSegmentCollection 物件集合。

例外狀況

collectionnull

適用於

PathSegmentCollection(Int32)

使用指定的容量,或該集合一開始可供存放的 PathSegmentCollection 物件數目,初始化 PathSegment 類別的新執行個體。

public PathSegmentCollection (int capacity);

參數

capacity
Int32

集合一開始可供存放的 PathSegment 物件數目。

適用於