Int32Collection Int32Collection Int32Collection Int32Collection Constructors

定义

重载

Int32Collection() Int32Collection() Int32Collection()

初始化 Int32Collection 类的新实例。Initializes a new instance of the Int32Collection class.

Int32Collection(IEnumerable<Int32>) Int32Collection(IEnumerable<Int32>) Int32Collection(IEnumerable<Int32>) Int32Collection(IEnumerable<Int32>)

用指定的 Int32Collection 值的集合来初始化 Int32 类的新实例。Initializes a new instance of the Int32Collection class with the specified collection of Int32 values.

Int32Collection(Int32) Int32Collection(Int32) Int32Collection(Int32) Int32Collection(Int32)

使用指定的容量或集合最初可存储的 Int32Collection 值的数目来初始化 Int32 类的新实例。Initializes a new instance of the Int32Collection class with the specified capacity, or the number of Int32 values the collection is initially capable of storing.

Int32Collection() Int32Collection() Int32Collection()

初始化 Int32Collection 类的新实例。Initializes a new instance of the Int32Collection class.

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

Int32Collection(IEnumerable<Int32>) Int32Collection(IEnumerable<Int32>) Int32Collection(IEnumerable<Int32>) Int32Collection(IEnumerable<Int32>)

用指定的 Int32Collection 值的集合来初始化 Int32 类的新实例。Initializes a new instance of the Int32Collection class with the specified collection of Int32 values.

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>

构成 Int32Int32Collection 值的集合。The collection of Int32 values that make up the Int32Collection.

Int32Collection(Int32) Int32Collection(Int32) Int32Collection(Int32) Int32Collection(Int32)

使用指定的容量或集合最初可存储的 Int32Collection 值的数目来初始化 Int32 类的新实例。Initializes a new instance of the Int32Collection class with the specified capacity, or the number of Int32 values the collection is initially capable of storing.

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 Int32 Int32

集合最初可存储的 Int32 值数。The number of Int32 values that the collection is initially capable of storing.

适用于