_CommandBarButton.Tag Property
Gets or sets the tag. Not used in Visual Studio.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'宣告
Property Tag As String
string Tag { get; set; }
Property Value
Type: System.String
The tag, or the empty string if there is none.
Remarks
Tags are not displayed in Visual Studio.
.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.