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
'Dichiarazione
Public Overridable Property Picture As StdPicture
Get
Set
'Utilizzo
Dim instance As CommandBarButtonClass
Dim value As StdPicture
value = instance.Picture
instance.Picture = value
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
.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.