ImmutableArray<T>.Builder.Count Propriedade

Definição

Obtém ou define o número de itens na matriz.Gets or sets the number of items in the array.

public:
 property int Count { int get(); void set(int value); };
public int Count { get; set; }
member this.Count : int with get, set
Public Property Count As Integer

Valor da propriedade

Int32

O número de itens na matriz.The number of items in the array.

Comentários

Se o valor for diminuído, o conteúdo da matriz será truncado.If the value is decreased, the array contents are truncated.

Se o valor for aumentado, os elementos adicionados serão inicializados para seu valor padrão.If the value is increased, the added elements are initialized to their default value.

Aplica-se a