Determines the
Command in
CommandCollection in order to link this
CommandUI with.
Syntax
Visual Basic (Declaration) |
|
<DescriptionAttribute("Determines the Commnand in order to link this component with it.")>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Dundas.Charting.WebControl.Design.CommandUINameEditor, Dundas.SharePoint.Charting.WebParts, Version=2.5.0.0, Culture=neutral, PublicKeyToken=fab2f7696049aaca")>
<DefaultValueAttribute()>
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# |
|
[DescriptionAttribute("Determines the Commnand in order to link this component with it.")]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Dundas.Charting.WebControl.Design.CommandUINameEditor, Dundas.SharePoint.Charting.WebParts, Version=2.5.0.0, Culture=neutral, PublicKeyToken=fab2f7696049aaca")]
[DefaultValueAttribute()]
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