共用方式為


CommandBarButtonClass.Mask Property

Gets the mask. This property is deprecated.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

'宣告
Public Overridable Property Mask As StdPicture
    Get
    Set
'用途
Dim instance As CommandBarButtonClass
Dim value As StdPicture

value = instance.Mask

instance.Mask = value
public virtual StdPicture Mask { get; set; }
public:
virtual property StdPicture^ Mask {
    StdPicture^ get ();
    void set (StdPicture^ value);
}
abstract Mask : StdPicture with get, set
override Mask : StdPicture with get, set
function get Mask () : StdPicture
function set Mask (value : StdPicture)

Property Value

Type: StdPicture
The mask. This property is deprecated.

Implements

_CommandBarButton.Mask

Remarks

This property throws a DeprecatedException when called.

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

CommandBarButtonClass Members

Microsoft.VisualStudio.CommandBars Namespace