IUIFramework2::GetUICommandCategory method
Retrieves the category of the Command.
c++
HRESULT GetUICommandCategory(
[in] UINT32 commandId,
[out] UI_COMMANDCATEGORY *commandCategory
);
commandId [in]
The ID for the Command, which is specified in the markup resource file.commandCategory [out]
When this method returns, contains a pointer to the Command category.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Minimum supported client |
Windows 8 [desktop apps only] |
Minimum supported server |
Windows Server 2012 [desktop apps only] |
Header |
Uiribbon.h |
IDL |
Uiribbon.idl |
DLL |
Uiribbon.dll |