Partager via


DialogContainerWithToolbar.IVsToolWindowToolbar.GetBorder Method

Returns the border information for a tool window.

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 GetBorder ( _
    rect As RECT() _
) As Integer Implements IVsToolWindowToolbar.GetBorder
'Utilisation
Dim instance As DialogContainerWithToolbar
Dim rect As RECT()
Dim returnValue As Integer

returnValue = CType(instance, IVsToolWindowToolbar).GetBorder(rect)
int IVsToolWindowToolbar.GetBorder(
    RECT[] rect
)
private:
virtual int GetBorder(
    array<RECT>^ rect
) sealed = IVsToolWindowToolbar::GetBorder
private abstract GetBorder : 
        rect:RECT[] -> int 
private override GetBorder : 
        rect:RECT[] -> int 
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsToolWindowToolbar.GetBorder(array<RECT[])

.NET Framework Security

See Also

Reference

DialogContainerWithToolbar Class

DialogContainerWithToolbar Members

Microsoft.VisualStudio.Shell Namespace