Edit

Share via


Buffer.Length Property

Definition

Gets or sets the size of the buffer.

public int Length { get; set; }

Property Value

The size of the buffer.

Remarks

If the new length is greater that the current length, more memory will be allocated. If the new length is less than the current length, the extra items will be cleared.

Applies to