Gets or sets the name of the associated command.
Determines the
Command in
CommandCollection in order to link this
CommandUI with.
Syntax
Visual Basic (Declaration) |
|
Public Property CommandName As String |
Visual Basic (Usage) |
Copy Code |
Dim instance As CommandUI
Dim value As String
instance.CommandName = value
value = instance.CommandName
|
C# |
|
public string CommandName {get; set;} |
Return Value
The string which represents
Command Name. Default is empty string.
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also