共用方式為


_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

'宣告
Property Picture As StdPicture
StdPicture Picture { get; set; }

Property Value

Type: StdPicture
The icon is of type stdole.StdPicture.

.NET Framework Security

See Also

Reference

_CommandBarButton Interface

Microsoft.VisualStudio.CommandBars Namespace