ArrayShapeEncoder.Shape Method
Definition
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.
Encodes array shape.
public:
void Shape(int rank, System::Collections::Immutable::ImmutableArray<int> sizes, System::Collections::Immutable::ImmutableArray<int> lowerBounds);
public void Shape (int rank, System.Collections.Immutable.ImmutableArray<int> sizes, System.Collections.Immutable.ImmutableArray<int> lowerBounds);
member this.Shape : int * System.Collections.Immutable.ImmutableArray<int> * System.Collections.Immutable.ImmutableArray<int> -> unit
Public Sub Shape (rank As Integer, sizes As ImmutableArray(Of Integer), lowerBounds As ImmutableArray(Of Integer))
Parameters
- rank
- Int32
The number of dimensions in the array (shall be 1 or more).
- sizes
- ImmutableArray<Int32>
Dimension sizes. The array may be shorter than rank
but not longer.
- lowerBounds
- ImmutableArray<Int32>
Dimension lower bounds, or default(ImmutableArray<T>) to set all rank
lower bounds to 0.
The array may be shorter than rank
but not longer.
Exceptions
rank
is outside of range [1, 0xffff], smaller than sizes.Length
, or smaller than lowerBounds.Length
.
sizes
is null
.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示