Share via


IAtlStringMgr::GetNilString

Returns a pointer to a string data structure for an empty string.

CStringData* GetNilString( ) throw( );

Return Value

A pointer to the CStringData object used to represent an empty string.

Remarks

Call this function to return a representation of an empty string.

Note

When implementing a custom string manager, this function must never fail. You can ensure this by embedding an instance of CNilStringData in the string manager class, and return a pointer to that instance.

Note

For usage examples, see Memory Management and CStringT.

Requirements

Header: atlsimpstr.h

See Also

Reference

IAtlStringMgr Class

Other Resources

IAtlStringMgr Members