DWSTRING.Capacityproperty
Gets/sets the size of the internal buffer.
Syntax
PROPERTY Capacity() AS UINT
PROPERTY Capacity (BYVAL nValue AS LONG)
Parameters
| Name | Description | |
|---|---|---|
nValue | The new capacity value, in bytes. If the new capacity is equal to the current capacity, no operation is performed; is it is smaller, the buffer is shortened and the contents that exceed the new capacity are lost. If you pass an odd number, 1 is added to the value to make it even. |
Description
Gets/sets the size of the internal buffer. The size is the number of bytes which can be stored without further expansion.
Reference
- Include file
DWSTRING.inc - Defined in AfxNova/DWSTRING.inc:246
- Documented in String Management/DWSTRING Class.md
- Topic: DWSTRING Class