Partager via


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
)
function GetDefaultSize(
    pSize : SIZE[]
) : int

Parameters

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
);

Permissions

See Also

Reference

IVsWindowPane Interface

IVsWindowPane Members

Microsoft.VisualStudio.Shell.Interop Namespace