共用方式為


ReusableArray<T>.Allocate(Int32) Method

Definition

Allocates the specified amount of space.

protected:
 override cli::array <T> ^ Allocate(int constructorParameter);
protected:
 override Platform::Array <T> ^ Allocate(int constructorParameter);
 override std::Array <T> Allocate(int constructorParameter);
protected override T[] Allocate (int constructorParameter);
override this.Allocate : int -> 'T[]
Protected Overrides Function Allocate (constructorParameter As Integer) As T()

Parameters

constructorParameter
Int32

The number of objects.

Returns

T[]

The number of objects requested.

Applies to