ArrayShapeEncoder.Shape Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Codifica a forma do array.
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))
Parâmetros
- rank
- Int32
O número de dimensões no array (deve ser 1 ou mais).
- sizes
- ImmutableArray<Int32>
Tamanhos dimensionais. O array pode ser mais curto, rank mas não mais longo.
- lowerBounds
- ImmutableArray<Int32>
Limites inferiores de dimensão, ou default(ImmutableArray<T>) para definir todos rank os limites inferiores a 0.
O array pode ser mais curto, rank mas não mais longo.
Exceções
rank está fora do intervalo [1, 0xffff], menor que sizes.Length, ou menor que lowerBounds.Length.
sizes é null.