Partager via


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

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

See Also

Reference

DialogContainerWithToolbar Class

DialogContainerWithToolbar Members

Microsoft.VisualStudio.Shell Namespace