Attachmate.Reflection.Objects.Emulation.IbmHosts Library > ContextMenus Object : Remove Function |
object.Remove( _ ByVal name As String _ ) As Boolean
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 |