共用方式為


CStringData::nDataLength

Current length of the string object.

int nDataLength;

Remarks

Stores the length of currently used data in XCHARs (not including terminating null).

Requirements

Header: atlsimpstr.h

See Also

Reference

CStringData Class

CStringData::nAllocLength