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
‘선언
Private Function GetBorder ( _
rect As RECT() _
) As Integer Implements IVsToolWindowToolbar.GetBorder
‘사용 방법
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
- rect
Type: array<Microsoft.VisualStudio.OLE.Interop.RECT[]
Pointer to the location and size of the tool window border.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DialogContainerWithToolbar Class