EnumBuilder.MakeArrayType Method

Definition

Returns a Type object representing an array of the current type.

Overloads

MakeArrayType()

Returns a Type object representing a one-dimensional array of the current type, with a lower bound of zero.

MakeArrayType(Int32)

Returns a Type object representing an array of the current type, with the specified number of dimensions.

MakeArrayType()

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

Returns

A Type object representing a one-dimensional array of the current type, with a lower bound of zero.

See also

MakeArrayType(Int32)

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

Parameters

rank
Int32

The number of dimensions for the array. This number must be less than or equal to 32.

Returns

An object representing an array of the current type, with the specified number of dimensions.

Exceptions

rank is less than 1.

See also

Applies to