Compartilhar via


_CommandBarButton.Picture Property

Gets or sets the icon that appears on the button.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

'Declaration
Property Picture As StdPicture
StdPicture Picture { get; set; }
property StdPicture^ Picture {
    StdPicture^ get ();
    void set (StdPicture^ value);
}
abstract Picture : StdPicture with get, set
function get Picture () : StdPicture 
function set Picture (value : StdPicture)

Property Value

Type: StdPicture
The icon is of type stdole.StdPicture.

.NET Framework Security

See Also

Reference

_CommandBarButton Interface

Microsoft.VisualStudio.CommandBars Namespace