Udostępnij za pośrednictwem


_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

'Declaration
Property Tag As String
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.

Implements

CommandBarControl.Tag

Remarks

Tags are not displayed in Visual Studio.

.NET Framework Security

See Also

Reference

_CommandBarButton Interface

Microsoft.VisualStudio.CommandBars Namespace