Share via


CStringData::AddRef

Increments the reference count of the string object.

void AddRef( ) throw( );

Remarks

Increments the reference count of the string object.

Note

Do not call this method on a string with a negative reference count, since a negative count indicates that the string buffer is locked.

Requirements

Header: atlsimpstr.h

See Also

Reference

CStringData Class

Other Resources

CStringData Members