[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the number of bytes allocated for this stream.
Public Overridable Property Capacity As Integer
Type: System.Int32The length of the usable portion of the buffer for the stream.
Capacity is the buffer length for system-provided byte arrays. Capacity cannot be set to a value less than the current length of the stream.
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0