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
'Declaration
Private Function SetBorderSpace ( _
rect As RECT() _
) As Integer Implements IVsToolWindowToolbar.SetBorderSpace
int IVsToolWindowToolbar.SetBorderSpace(
RECT[] rect
)
private:
virtual int SetBorderSpace(
array<RECT>^ rect
) sealed = IVsToolWindowToolbar::SetBorderSpace
private abstract SetBorderSpace :
rect:RECT[] -> int
private override SetBorderSpace :
rect:RECT[] -> int
JScript does not support explicit interface implementations.
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.