Udostępnij za pośrednictwem


RibbonBase.Tag Property

Gets or sets application-specific data that is associated with this RibbonBase.

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

Syntax

'Declaration
Public Property Tag As Object
    Get
    Set
public Object Tag { get; set; }

Property Value

Type: System.Object
An System.Object that represents application-specific data that is associated with this RibbonBase.

Remarks

Any type derived from the System.Object class can be assigned to this property. However, if you set the Tag property in the Visual Studio Properties window, you can only assign text.

.NET Framework Security

See Also

Reference

RibbonBase Class

Microsoft.Office.Tools.Ribbon Namespace