RuntimeClass::Release Method

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

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: