ArrayShape ArrayShape ArrayShape ArrayShape Struct

定義

表示陣列類型的圖形。Represents the shape of an array type.

public value class ArrayShape
public struct ArrayShape
type ArrayShape = struct
Public Structure ArrayShape
繼承
ArrayShapeArrayShapeArrayShapeArrayShape

建構函式

ArrayShape(Int32, ImmutableArray<Int32>, ImmutableArray<Int32>) ArrayShape(Int32, ImmutableArray<Int32>, ImmutableArray<Int32>) ArrayShape(Int32, ImmutableArray<Int32>, ImmutableArray<Int32>) ArrayShape(Int32, ImmutableArray<Int32>, ImmutableArray<Int32>)

初始化 ArrayShape 結構的新執行個體。Initializes a new instance of the ArrayShape structure.

屬性

LowerBounds LowerBounds LowerBounds LowerBounds

取得所有維度的下限。Gets the lower-bounds of all dimensions. 後置維度未指定下限時,長度可能會小於順位。Length may be smaller than rank, in which case the trailing dimensions have unspecified lower bounds.

Rank Rank Rank Rank

取得陣列的維度數目。Gets the number of dimensions in the array.

Sizes Sizes Sizes Sizes

取得所有維度的大小。Gets the sizes of all dimensions.

適用於