CommandUICommand Constructor (CommandUICommand, String, String, Icon, Icon) (Compact 7)

3/12/2014

Use this constructor to create a menu or menu item that is rooted to another CommandUICommand.

Namespace: Microsoft.RemoteToolSdk.PluginComponents
Assembly: Microsoft.RemoteToolSdk (in microsoft.remotetoolsdk.dll)

Syntax

public CommandUICommand (
    CommandUICommand parent,
    string text,
    string hint,
    Icon menuIcon,
    Icon toolBarIcon
)
'Declaration
Public Sub New ( _
    parent As CommandUICommand, _
    text As String, _
    hint As String, _
    menuIcon As Icon, _
    toolBarIcon As Icon _
)

Parameters

  • parent
    The command item that this item is rooted to.
  • text
    Text of the menu
  • hint
    Tooltip/Statusbar hint
  • menuIcon
    Bitmap to display in the menu.
  • toolBarIcon
    Not implemented. Leave as null.

See Also

Reference

CommandUICommand Class
CommandUICommand Members
Microsoft.RemoteToolSdk.PluginComponents Namespace