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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.