Edit

Share via


Buffer.Length Property

Definition

Gets or sets the size of the buffer.

public uint Length { get; set; }
public int Length { get; set; }

Property Value

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