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

声明
Public Overridable Property Picture As StdPicture
    Get
    Set
用法
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

_CommandBarButton.Picture

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

CommandBarButtonClass Members

Microsoft.VisualStudio.CommandBars Namespace