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
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.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

Return Value

Type: Int32
If the method succeeds, S_OK, otherwise an error code.

Implements

IVsToolWindowToolbar.SetBorderSpace(array<RECT[])

.NET Framework Security

See Also

Reference

DialogContainerWithToolbar Class

Microsoft.VisualStudio.Shell Namespace