共用方式為


CStringData::IsShared

Determines if the character buffer is shared.

bool IsShared( ) const throw( );

Return Value

Returns true if the buffer is shared; otherwise false.

Remarks

Call this function to determine if the character buffer of a string data object is currently shared among multiple string objects.

Requirements

Header: atlsimpstr.h

See Also

Reference

CStringData Class