共用方式為


_CommandBarButton.Type Property

Gets the type of the control.

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

Syntax

'宣告
ReadOnly Property Type As MsoControlType
    Get
'用途
Dim instance As _CommandBarButton
Dim value As MsoControlType

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

Property Value

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

Implements

CommandBarControl.Type

.NET Framework Security

See Also

Reference

_CommandBarButton Interface

_CommandBarButton Members

Microsoft.VisualStudio.CommandBars Namespace