VectorCollection コンストラクター

定義

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

オーバーロード

名前 説明
VectorCollection()

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

VectorCollection(IEnumerable<Vector>)

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

VectorCollection(Int32)

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

VectorCollection()

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

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

適用対象

VectorCollection(IEnumerable<Vector>)

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

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

パラメーター

collection
IEnumerable<Vector>

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

例外

collectionnullです。

適用対象

VectorCollection(Int32)

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

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

パラメーター

capacity
Int32

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

適用対象