IVsToolWindowToolbar.SetBorderSpace Method

Sets the border space for a tool window.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'宣言
Function SetBorderSpace ( _
    pbw As RECT() _
) As Integer
'使用
Dim instance As IVsToolWindowToolbar
Dim pbw As RECT()
Dim returnValue As Integer

returnValue = instance.SetBorderSpace(pbw)
int SetBorderSpace(
    RECT[] pbw
)
int SetBorderSpace(
    [InAttribute] array<RECT>^ pbw
)
function SetBorderSpace(
    pbw : RECT[]
) : int

Parameters

  • pbw
    Type: []

    [in] Border space for the tool window.

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsToolWindowToolbar::SetBorderSpace(
   [in] LPCBORDERWIDTHS pbw
);

Permissions

See Also

Reference

IVsToolWindowToolbar Interface

IVsToolWindowToolbar Members

Microsoft.VisualStudio.Shell.Interop Namespace