Язык

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объект .

Исключения

collection равно null.

Применяется к

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 объектов, которые коллекция изначально может хранить.

Применяется к