EnumBuilder.MakeArrayType EnumBuilder.MakeArrayType EnumBuilder.MakeArrayType EnumBuilder.MakeArrayType Method

定义

返回表示当前类型数组的 Type 对象。Returns a Type object representing an array of the current type.

重载

MakeArrayType() MakeArrayType() MakeArrayType() MakeArrayType()

返回 Type 对象,该对象表示当前类型的一维数组(下限为零)。Returns a Type object representing a one-dimensional array of the current type, with a lower bound of zero.

MakeArrayType(Int32) MakeArrayType(Int32) MakeArrayType(Int32) MakeArrayType(Int32)

返回 Type 对象,该对象表示一个具有指定维数的当前类型的数组。Returns a Type object representing an array of the current type, with the specified number of dimensions.

MakeArrayType() MakeArrayType() MakeArrayType() MakeArrayType()

返回 Type 对象,该对象表示当前类型的一维数组(下限为零)。Returns a Type object representing a one-dimensional array of the current type, with a lower bound of zero.

public:
 override Type ^ MakeArrayType();
public override Type MakeArrayType ();
override this.MakeArrayType : unit -> Type
Public Overrides Function MakeArrayType () As Type

返回

返回一个表示当前类型的一维数组(下限为零)的 Type 对象。A Type object representing a one-dimensional array of the current type, with a lower bound of zero.

另请参阅

MakeArrayType(Int32) MakeArrayType(Int32) MakeArrayType(Int32) MakeArrayType(Int32)

返回 Type 对象,该对象表示一个具有指定维数的当前类型的数组。Returns a Type object representing an array of the current type, with the specified number of dimensions.

public:
 override Type ^ MakeArrayType(int rank);
public override Type MakeArrayType (int rank);
override this.MakeArrayType : int -> Type
Public Overrides Function MakeArrayType (rank As Integer) As Type

参数

rank
Int32 Int32 Int32 Int32

数组的维数。The number of dimensions for the array. 此数字必须小于或等于 32。This number must be less than or equal to 32.

返回

表示当前类型的指定维数的数组的对象。An object representing an array of the current type, with the specified number of dimensions.

异常

另请参阅

适用于