Udostępnij za pośrednictwem


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

'Declaration
Function GetDefaultSize ( _
    <OutAttribute> pSize As SIZE() _
) As Integer
int GetDefaultSize(
    SIZE[] pSize
)
int GetDefaultSize(
    [OutAttribute] array<SIZE>^ pSize
)
abstract GetDefaultSize : 
        pSize:SIZE[] byref -> int 
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
);

.NET Framework Security

See Also

Reference

IVsWindowPane Interface

Microsoft.VisualStudio.Shell.Interop Namespace