共用方式為


CommandBarButtonClass.Type Property

Gets the type of the control.

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

Syntax

'宣告
Public Overridable ReadOnly Property Type As MsoControlType
    Get
'用途
Dim instance As CommandBarButtonClass
Dim value As MsoControlType

value = instance.Type
public virtual MsoControlType Type { get; }
public:
virtual property MsoControlType Type {
    MsoControlType get ();
}
abstract Type : MsoControlType
override Type : MsoControlType
function get Type () : MsoControlType

Property Value

Type: Microsoft.VisualStudio.CommandBars.MsoControlType
The MsoControlType.

Implements

_CommandBarButton.Type

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

CommandBarButtonClass Members

Microsoft.VisualStudio.CommandBars Namespace