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>

每一個維度的下限。

適用於