Share via


CSimpleStringT::UnlockBuffer

Unlocks the buffer of the CSimpleStringT object.

void UnlockBuffer( ) throw( );

Remarks

Call this method to reset the reference count of the string to 1.

The CSimpleStringT destructor automatically calls UnlockBuffer to ensure that the buffer is not locked when the destructor is called. For an example of this method, see LockBuffer.

Requirements

Header: atlsimpstr.h

See Also

Reference

CSimpleStringT Class

CSimpleStringT::LockBuffer

CSimpleStringT::GetBuffer

CSimpleStringT::ReleaseBuffer