言語

PointCollection コンストラクター

定義

PointCollection クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
PointCollection()

PointCollection クラスの新しいインスタンスを初期化します。

PointCollection(IEnumerable<Point>)

指定したPointCollection値のコレクションからコピーされた項目を含み、コピーされた項目の数と同じ初期容量を持つPoint クラスの新しいインスタンスを初期化します。

PointCollection(Int32)

指定した容量を使用して、 PointCollection クラスの新しいインスタンスを初期化します。

PointCollection()

PointCollection クラスの新しいインスタンスを初期化します。

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

適用対象

PointCollection(IEnumerable<Point>)

指定したPointCollection値のコレクションからコピーされた項目を含み、コピーされた項目の数と同じ初期容量を持つPoint クラスの新しいインスタンスを初期化します。

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

パラメーター

collection
IEnumerable<Point>

新しい PointCollectionに項目がコピーされるコレクション。

例外

collectionnullです。

適用対象

PointCollection(Int32)

指定した容量を使用して、 PointCollection クラスの新しいインスタンスを初期化します。

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

パラメーター

capacity
Int32

コレクションが最初に格納できる Point 値の数。

適用対象