PathSegmentCollection 建構函式

定義

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

多載

PathSegmentCollection()

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

PathSegmentCollection(IEnumerable<PathSegment>)

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

PathSegmentCollection(Int32)

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

PathSegmentCollection()

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

public:
 PathSegmentCollection();
public PathSegmentCollection ();
Public Sub New ()

適用於

PathSegmentCollection(IEnumerable<PathSegment>)

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

public:
 PathSegmentCollection(System::Collections::Generic::IEnumerable<System::Windows::Media::PathSegment ^> ^ collection);
public PathSegmentCollection (System.Collections.Generic.IEnumerable<System.Windows.Media.PathSegment> collection);
new System.Windows.Media.PathSegmentCollection : seq<System.Windows.Media.PathSegment> -> System.Windows.Media.PathSegmentCollection
Public Sub New (collection As IEnumerable(Of PathSegment))

參數

collection
IEnumerable<PathSegment>

組成 PathSegmentPathSegmentCollection 物件集合。

例外狀況

collectionnull

適用於

PathSegmentCollection(Int32)

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

public:
 PathSegmentCollection(int capacity);
public PathSegmentCollection (int capacity);
new System.Windows.Media.PathSegmentCollection : int -> System.Windows.Media.PathSegmentCollection
Public Sub New (capacity As Integer)

參數

capacity
Int32

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

適用於