IConstructedTypeProvider<TType>.GetArrayType(TType, ArrayShape) Method

Definition

Gets the type symbol for a generalized array of the given element type and shape.

public:
 TType GetArrayType(TType elementType, System::Reflection::Metadata::ArrayShape shape);
public TType GetArrayType (TType elementType, System.Reflection.Metadata.ArrayShape shape);
abstract member GetArrayType : 'ype * System.Reflection.Metadata.ArrayShape -> 'ype
Public Function GetArrayType (elementType As TType, shape As ArrayShape) As TType

Parameters

elementType
TType

The type of the elements in the array.

shape
ArrayShape

The shape (rank, sizes, and lower bounds) of the array.

Returns

TType

Applies to