EnumBuilder.MakeArrayType Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a Type object representing an array of the current type.
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. |
- Source:
- EnumBuilder.cs
- Source:
- EnumBuilder.cs
- Source:
- EnumBuilder.cs
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
Applies to
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided), 2.1 |
- Source:
- EnumBuilder.cs
- Source:
- EnumBuilder.cs
- Source:
- EnumBuilder.cs
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
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided), 2.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: