Editare

Partajați prin


ImmutableArray<T>.Builder.Count Property

Definition

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

Property Value

The number of items in the array.

Remarks

If the value is decreased, the array contents are truncated.

If the value is increased, the added elements are initialized to their default value.

Applies to