Freigeben über


IVsToolWindowToolbar.SetBorderSpace(RECT[]) Method

Definition

Sets the border space for a tool window after the toolbar is placed.

public:
 int SetBorderSpace(cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ pbw);
public:
 int SetBorderSpace(Platform::Array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ pbw);
int SetBorderSpace(std::Array <Microsoft::VisualStudio::OLE::Interop::RECT> const & pbw);
public int SetBorderSpace (Microsoft.VisualStudio.OLE.Interop.RECT[] pbw);
abstract member SetBorderSpace : Microsoft.VisualStudio.OLE.Interop.RECT[] -> int
Public Function SetBorderSpace (pbw As RECT()) As Integer

Parameters

pbw
RECT[]

[in] Border space for the tool window.

Returns

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

Remarks

This method returns the coordinates of the usable area in the specified RECT after the toolbar is placed.

COM Signature

From vsshell.idl:

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

Applies to