다음을 통해 공유


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

Concepts

CSimpleStringT Class

CSimpleStringT Members