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
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.