'Declaration
Public Function GetContextMenuItem( _ ByVal itemName As String _ ) As ContextMenuItem
'Usage
Dim instance As ContextMenu Dim itemName As String Dim value As ContextMenuItem value = instance.GetContextMenuItem(itemName)
public ContextMenuItem GetContextMenuItem( string itemName )
Parameters
- itemName
- The name of the menu item, as it is displayed within the menu. This applies only to items of type ContextMenuItemType.MenuItem
Return Value
A ContextMenuItem with the specified name, or null if no such item exists.