RuntimeClass::GetRuntimeClassName Method

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

Gets the runtime class name of the current RuntimeClass object.

STDMETHOD(  
   GetRuntimeClassName  
)(_Out_ HSTRING* runtimeName);  

runtimeName
When this operation completes, the runtime class name.

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

An assert error is emitted if __WRL_STRICT__or __WRL_FORCE_INSPECTABLE_CLASS_MACRO__ isn't defined.

Header: implements.h

Namespace: Microsoft::WRL

RuntimeClass Class

Show: