MemoryStream: Length (get) |
Gets the length of the stream in bytes.
Public Property Get Length ( ) As Currency
The length of the stream differs from the capacity in that the capacity is the amount of allocated memory used to store the stream, and the length is the number of bytes used from within the allocated memory.
Read Only.
Exception | Condition |
---|---|
ObjectDisposedException | The stream is closed. |