CommandBarControl.Tag Property
Gets or sets the tag
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'Declaración
Property Tag As String
Get
Set
'Uso
Dim instance As CommandBarControl
Dim value As String
value = instance.Tag
instance.Tag = value
string Tag { get; set; }
property String^ Tag {
String^ get ();
void set (String^ value);
}
abstract Tag : string with get, set
function get Tag () : String
function set Tag (value : String)
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.