RibbonComponent.Name Property (2007 System)

Gets or sets the name of this RibbonComponent.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)

Syntax

'Declaration
Public Property Name As String
'Usage
Dim instance As RibbonComponent 
Dim value As String 

value = instance.Name

instance.Name = value
public string Name { get; set; }
public:
property String^ Name {
    String^ get ();
    void set (String^ value);
}
public function get Name () : String 
public function set Name (value : String)

Property Value

Type: System.String
A string that contains the name of this RibbonComponent.

Remarks

The name of a control shows up in the Properties window. It is the ID that Microsoft Office uses to identify this RibbonComponent, and it is the name of the instance of this RibbonComponent in your code.

This property can be set at run time only under certain conditions. For more information, see Ribbon Object Model Overview.

.NET Framework Security

See Also

Reference

RibbonComponent Class

RibbonComponent Members

Microsoft.Office.Tools.Ribbon Namespace