ArrayShape 构造函数

定义

初始化 ArrayShape 结构的新实例。

public:
 ArrayShape(int rank, System::Collections::Immutable::ImmutableArray<int> sizes, System::Collections::Immutable::ImmutableArray<int> lowerBounds);
public ArrayShape (int rank, System.Collections.Immutable.ImmutableArray<int> sizes, System.Collections.Immutable.ImmutableArray<int> lowerBounds);
new System.Reflection.Metadata.ArrayShape : int * System.Collections.Immutable.ImmutableArray<int> * System.Collections.Immutable.ImmutableArray<int> -> System.Reflection.Metadata.ArrayShape
Public Sub New (rank As Integer, sizes As ImmutableArray(Of Integer), lowerBounds As ImmutableArray(Of Integer))

参数

rank
Int32

数组的维数。

sizes
ImmutableArray<Int32>

每个维度的大小。

lowerBounds
ImmutableArray<Int32>

每个维度的下限。

适用于