IMenuModelGetIndexOf Method |
Version 85.3.121
Returns the index associated with the specified commandId or -1 if not found due to the command id not existing in the menu.
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 85.3.121.0 (85.3.121.0)
Syntax int GetIndexOf(
CefMenuCommand commandId
)
int GetIndexOf(
CefMenuCommand commandId
)
Parameters
- commandId
- Type: CefSharpCefMenuCommand
the command Id
Return Value
Type:
Int32Returns the index associated with the specified commandId or -1 if not found due to the command id not existing in the menu.
See Also