IVsWindowPane.GetDefaultSize Method
Returns the default size of a given window pane.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Déclaration
Function GetDefaultSize ( _
<OutAttribute> pSize As SIZE() _
) As Integer
'Utilisation
Dim instance As IVsWindowPane
Dim pSize As SIZE()
Dim returnValue As Integer
returnValue = instance.GetDefaultSize(pSize)
int GetDefaultSize(
SIZE[] pSize
)
int GetDefaultSize(
[OutAttribute] array<SIZE>^ pSize
)
abstract GetDefaultSize :
pSize:SIZE[] byref -> int
function GetDefaultSize(
pSize : SIZE[]
) : int
Parameters
- pSize
Type: array<Microsoft.VisualStudio.OLE.Interop.SIZE[]
[out] Pointer to the size of a given window pane.
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 IVsWindowPane::GetDefaultSize(
[out] SIZE *psize
);
.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.