Partager via


CSimpleStringT::ReleaseBufferSetLength

Releases control of the buffer allocated by GetBuffer.

void ReleaseBufferSetLength(
   int nNewLength 
);

Parameters

  • nNewLength
    The length of the string being released

Remarks

This function is functionally similar to ReleaseBuffer except that a valid length for the string object must be passed.

Requirements

Header: atlsimpstr.h

See Also

Reference

CSimpleStringT Class

Other Resources

CSimpleStringT Members