Share via


CStrBufT::SetLength

Sets the length of the character buffer.

void SetLength(
   int nLength
);

Parameters

  • nLength
    The new length of the character buffer of the string object.

    Note

    Must be less than or equal to the minimum buffer length specified in the constructor of CStrBufT.

Remarks

Call this function to set the length of the string represented by the buffer object.

Requirements

Header: atlsimpstr.h

See Also

Reference

CStrBufT Class

Other Resources

CStrBufT Members