CommandBarControl.Height Property
Gets or sets the height of the control.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'宣告
Property Height As Integer
Get
Set
'用途
Dim instance As CommandBarControl
Dim value As Integer
value = instance.Height
instance.Height = value
int Height { get; set; }
property int Height {
int get ();
void set (int value);
}
abstract Height : int with get, set
function get Height () : int
function set Height (value : int)
Property Value
Type: System.Int32
The height of the control.
Remarks
This method throws an InvalidOperationException if it is set to another value.
.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.