Attachmate.Reflection.Emulation.IbmHosts Namespace > ContextMenus Class : ItemByName Method |
'Declaration Public Function ItemByName( _ ByVal name As String _ ) As IContextMenu
'Usage Dim instance As ContextMenus Dim name As String Dim value As IContextMenu value = instance.ItemByName(name)
public IContextMenu ItemByName( string name )
Exception | Description |
---|---|
System.InvalidOperationException | If the ContextMenus object is not available or in an error state |
Target Platforms: Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP, Microsoft Windows Server 2003 Terminal Services, Microsoft Windows Server 2008 Terminal Services