Partager via


CComTearOffObject::Release

Decrements the reference count by one and, if the reference count is zero, deletes the CComTearOffObject.

STDMETHOD_ULONG Release( );

Return Value

In non-debug builds, always returns zero. In debug builds, returns a value that may be useful for diagnostics or testing.

Requirements

Header: atlcom.h

See Also

Reference

CComTearOffObject Class

CComTearOffObject::AddRef