GeometryCollection 建構函式

定義

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

多載

GeometryCollection()

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

GeometryCollection(IEnumerable<Geometry>)

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

GeometryCollection(Int32)

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

GeometryCollection()

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

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

適用於

GeometryCollection(IEnumerable<Geometry>)

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

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

參數

collection
IEnumerable<Geometry>

組成 GeometryGeometryCollection 物件集合。

適用於

GeometryCollection(Int32)

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

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

參數

capacity
Int32

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

適用於