共用方式為


CommandBar.Type Property

Gets or sets the type of command bar.

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

Syntax

'宣告
ReadOnly Property Type As MsoBarType
    Get
'用途
Dim instance As CommandBar
Dim value As MsoBarType

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

Property Value

Type: Microsoft.VisualStudio.CommandBars.MsoBarType
The MsoBarType.

.NET Framework Security

See Also

Reference

CommandBar Interface

CommandBar Members

Microsoft.VisualStudio.CommandBars Namespace