DialogContainerWithToolbar.IVsToolWindowToolbar.SetBorderSpace Method
Stores toolbar information and resizes the main pane to leave room for the command bar.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Private Function SetBorderSpace ( _
rect As RECT() _
) As Integer Implements IVsToolWindowToolbar.SetBorderSpace
int IVsToolWindowToolbar.SetBorderSpace(
RECT[] rect
)
Parameters
- rect
Type: array<Microsoft.VisualStudio.OLE.Interop.RECT[]
The new desired bounds.
Return Value
Type: System.Int32
If the method succeeds, S_OK, otherwise an error code.
Implements
IVsToolWindowToolbar.SetBorderSpace(array<RECT[])
.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.