PathSegmentCollection Konstruktorer

Definition

Initierar en ny instans av PathSegmentCollection klassen.

Överlagringar

Name Description
PathSegmentCollection()

Initierar en ny instans av PathSegmentCollection klassen.

PathSegmentCollection(IEnumerable<PathSegment>)

Initierar en ny instans av PathSegmentCollection klassen med den angivna samlingen med PathSegment objekt.

PathSegmentCollection(Int32)

Initierar en ny instans av PathSegmentCollection klassen med den angivna kapaciteten, eller antalet PathSegment objekt som samlingen ursprungligen kan lagra.

PathSegmentCollection()

Initierar en ny instans av PathSegmentCollection klassen.

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

Gäller för

PathSegmentCollection(IEnumerable<PathSegment>)

Initierar en ny instans av PathSegmentCollection klassen med den angivna samlingen med 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))

Parametrar

collection
IEnumerable<PathSegment>

Samlingen med PathSegment objekt som utgör PathSegmentCollection.

Undantag

collection är null.

Gäller för

PathSegmentCollection(Int32)

Initierar en ny instans av PathSegmentCollection klassen med den angivna kapaciteten, eller antalet PathSegment objekt som samlingen ursprungligen kan lagra.

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

Parametrar

capacity
Int32

Antalet PathSegment objekt som samlingen ursprungligen kan lagra.

Gäller för