共用方式為


CStringData::data

Returns a pointer to the character buffer of a string object.

void* data( ) throw( );

Return Value

A pointer to the character buffer of the string object.

Remarks

Call this function to return the current character buffer of the associated string object.

Note

This buffer is not allocated by the CStringData object but by the string manager when needed. When allocated, the buffer is appended to the string data object.

Requirements

Header: atlsimpstr.h

See Also

Reference

CStringData Class