PointCollection コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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に項目がコピーされるコレクション。
例外
collection は nullです。
適用対象
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)