RuntimeClass::Release Method

 

The latest version of this topic can be found at RuntimeClass::Release Method.

Performs a COM Release operation on the current RuntimeClass object.

STDMETHOD_(  
   ULONG,  
   Release  
)();  

S_OK if successful; otherwise, an HRESULT that indicates the error.

If the reference count becomes zero, the RuntimeClass object is deleted.

Header: implements.h

Namespace: Microsoft::WRL

RuntimeClass Class

Show: