Condividi tramite


_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

'Dichiarazione
Property Picture As StdPicture
    Get
    Set
'Utilizzo
Dim instance As _CommandBarButton
Dim value As StdPicture

value = instance.Picture

instance.Picture = value
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

_CommandBarButton Members

Microsoft.VisualStudio.CommandBars Namespace