次の方法で共有


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

'宣言
Function GetDefaultSize ( _
    <OutAttribute> pSize As SIZE() _
) As Integer
'使用
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

  • pSize
    Type: []

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

Permissions

See Also

Reference

IVsWindowPane Interface

IVsWindowPane Members

Microsoft.VisualStudio.Shell.Interop Namespace