Int32Collection 建構函式

定義

初始化 Int32Collection 類別的新執行個體。

多載

Int32Collection()

初始化 Int32Collection 類別的新執行個體。

Int32Collection(IEnumerable<Int32>)

使用指定的 Int32Collection 值集合,初始化 Int32 類別的新執行個體。

Int32Collection(Int32)

使用指定的容量,或集合初始可以儲存的 Int32Collection 值數目,初始化 Int32 類別的新執行個體。

Int32Collection()

初始化 Int32Collection 類別的新執行個體。

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

適用於

Int32Collection(IEnumerable<Int32>)

使用指定的 Int32Collection 值集合,初始化 Int32 類別的新執行個體。

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

參數

collection
IEnumerable<Int32>

Int32 值的集合,該集合組成 Int32Collection

適用於

Int32Collection(Int32)

使用指定的容量,或集合初始可以儲存的 Int32Collection 值數目,初始化 Int32 類別的新執行個體。

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

參數

capacity
Int32

集合初始可以儲存的 Int32 值數目。

適用於