共用方式為


CommandBar.Position Property

Gets or sets the position of the command bar.

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

Syntax

'宣告
Property Position As MsoBarPosition
    Get
    Set
'用途
Dim instance As CommandBar
Dim value As MsoBarPosition

value = instance.Position

instance.Position = value
MsoBarPosition Position { get; set; }
property MsoBarPosition Position {
    MsoBarPosition get ();
    void set (MsoBarPosition value);
}
abstract Position : MsoBarPosition with get, set
function get Position () : MsoBarPosition
function set Position (value : MsoBarPosition)

Property Value

Type: Microsoft.VisualStudio.CommandBars.MsoBarPosition
The MsoBarPosition.

.NET Framework Security

See Also

Reference

CommandBar Interface

CommandBar Members

Microsoft.VisualStudio.CommandBars Namespace