Sdílet prostřednictvím


PathSegmentCollection Konstruktory

Definice

Inicializuje novou instanci PathSegmentCollection třídy.

Přetížení

PathSegmentCollection()

Inicializuje novou instanci PathSegmentCollection třídy.

PathSegmentCollection(IEnumerable<PathSegment>)

Inicializuje novou instanci PathSegmentCollection třídy se zadanou kolekcí PathSegment objektů.

PathSegmentCollection(Int32)

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

PathSegmentCollection()

Inicializuje novou instanci PathSegmentCollection třídy.

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

Platí pro

PathSegmentCollection(IEnumerable<PathSegment>)

Inicializuje novou instanci PathSegmentCollection třídy se zadanou kolekcí PathSegment objektů.

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

Parametry

collection
IEnumerable<PathSegment>

Kolekce PathSegment objektů, které tvoří PathSegmentCollection.

Výjimky

collection je null.

Platí pro

PathSegmentCollection(Int32)

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

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

Parametry

capacity
Int32

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

Platí pro