GeometryCollection Konstruktory

Definice

Inicializuje novou instanci GeometryCollection třídy.

Přetížení

GeometryCollection()

Inicializuje novou instanci GeometryCollection třídy.

GeometryCollection(IEnumerable<Geometry>)

Inicializuje novou instanci GeometryCollection třídy se zadanou kolekcí Geometry objektů.

GeometryCollection(Int32)

Inicializuje novou instanci GeometryCollection třídy se zadanou kapacitou nebo počet Geometry objektů, které kolekce zpočátku dokáže uložit.

GeometryCollection()

Inicializuje novou instanci GeometryCollection třídy.

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

Platí pro

GeometryCollection(IEnumerable<Geometry>)

Inicializuje novou instanci GeometryCollection třídy se zadanou kolekcí Geometry objektů.

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))

Parametry

collection
IEnumerable<Geometry>

Kolekce Geometry objektů, které tvoří GeometryCollection.

Platí pro

GeometryCollection(Int32)

Inicializuje novou instanci GeometryCollection třídy se zadanou kapacitou nebo počet Geometry objektů, které kolekce zpočátku dokáže uložit.

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

Parametry

capacity
Int32

Počet Geometry objektů, které je kolekce zpočátku schopna uložit.

Platí pro