Function CSPWString::SetSize()

Description:
Allocates memory of a specified size for the string.

Prototype:
void SetSize(unsigned long ulSize);

Arguments:
  • unsigned long ulSize [IN]
    The memory size of the string, in characters.



Return value:
No return value (void).

Remarks:
If the size specified is less than the size of the current string content, the content will be truncated to fit the new size.

See also:
member function Length(), Empty()
CSPWString | Basic classes | Class Categories | Online help home | Back

www.micronovae.com

Copyright © 2002 - 2005 Micronovae Ltd