Share via


CComCachedTearOffObject::Release

Decrements the reference count by 1 and, if the reference count is 0, deletes the CComCachedTearOffObject object.

STDMETHOD_(ULONG, Release)( );

Return Value

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

Requirements

Header: atlcom.h

See Also

Reference

CComCachedTearOffObject Class

CComCachedTearOffObject::AddRef

Other Resources

CComCachedTearOffObject Members