IVsToolWindowToolbar.GetBorder Method
Returns the border information for a tool window.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaración
Function GetBorder ( _
<OutAttribute> prc As RECT() _
) As Integer
'Uso
Dim instance As IVsToolWindowToolbar
Dim prc As RECT()
Dim returnValue As Integer
returnValue = instance.GetBorder(prc)
int GetBorder(
RECT[] prc
)
int GetBorder(
[OutAttribute] array<RECT>^ prc
)
abstract GetBorder :
prc:RECT[] byref -> int
function GetBorder(
prc : RECT[]
) : int
Parameters
- prc
Type: array<Microsoft.VisualStudio.OLE.Interop.RECT[]
[out] 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.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsToolWindowToolbar::GetBorder(
[out] RECT *prc
);
.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.