Attachmate.Reflection.Emulation.IbmHosts Assembly > Attachmate.Reflection.Emulation.IbmHosts Namespace > ContextMenus Class : Remove Method |
'Usage
Dim instance As ContextMenus Dim name As String Dim value As Boolean value = instance.Remove(name)
Exception | Description |
---|---|
System.ArgumentNullException | If the name passed is null |
System.ArgumentException | If the name passed corresponds to the default menu, which cannot be deleted. This can be represented by an empty string, or the ContextMenu.DefaultMenuName constant |
System.InvalidOperationException | If the ContextMenus object is not available or in an error state |