DialogContainerWithToolbar.IVsToolWindowToolbar.SetBorderSpace Method
Stores toolbar information and resizes the main pane to leave room for the command bar.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'Déclaration
Private Function SetBorderSpace ( _
rect As RECT() _
) As Integer Implements IVsToolWindowToolbar.SetBorderSpace
'Utilisation
Dim instance As DialogContainerWithToolbar
Dim rect As RECT()
Dim returnValue As Integer
returnValue = CType(instance, IVsToolWindowToolbar).SetBorderSpace(rect)
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, [F:Microsoft.VisualStudio.VSConstants.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.
See Also
Reference
DialogContainerWithToolbar Class