Compartilhar via


CommandBarButtonClass.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
Public Overridable Property Picture As StdPicture
public virtual StdPicture Picture { get; set; }
public:
virtual property StdPicture^ Picture {
    StdPicture^ get ();
    void set (StdPicture^ value);
}
abstract Picture : StdPicture with get, set 
override 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.

Implements

_CommandBarButton.Picture

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

Microsoft.VisualStudio.CommandBars Namespace