Прочетете на английски Редактиране

Споделяне чрез


ImmutableArray<T>.Builder.Capacity Property

Definition

Gets or sets the length of the internal array. When set, the internal array is reallocated to the given capacity if it is not already the specified length.

C#
public int Capacity { get; set; }

Property Value

The length of the internal array.

Applies to

Продукт Версии
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)
UWP 10.0