expression.GetContextMenuItem( _ ByVal itemName As String _ ) As ContextMenuItem
where expression is a variable that represents a ContextMenu Object
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 object with the specified name, or null if no such item exists.