System.IO.UnmanagedMemoryStream.Capacity Property

Gets the stream length (size) or the total amount of memory assigned to a stream (capacity).

Syntax

public long Capacity { get; }

Value

Documentation for this section has not yet been entered.

Remarks

This property returns the capacity value provided to the constructor. If no capacity value was specified when the stream was initialized, this property returns the stream length.

Requirements

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0