IMenuModelGetIndexOf Method |
Version 130.1.90
Returns the index associated with the specified commandId or -1 if not found due to the command id not existing in the menu.
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax int GetIndexOf(
CefMenuCommand commandId
)
int GetIndexOf(
CefMenuCommand commandId
)
Parameters
- commandId CefMenuCommand
- the command Id
Return Value
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