_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
- 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.