IVsTextTipWindow.GetSizePreferences Method

Gets the size preferences for the tip window.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'宣言
Function GetSizePreferences ( _
    <OutAttribute> prcCtxBounds As RECT(), _
    <OutAttribute> pSizeData As TIPSIZEDATA() _
) As Integer
'使用
Dim instance As IVsTextTipWindow
Dim prcCtxBounds As RECT()
Dim pSizeData As TIPSIZEDATA()
Dim returnValue As Integer

returnValue = instance.GetSizePreferences(prcCtxBounds, _
    pSizeData)
int GetSizePreferences(
    RECT[] prcCtxBounds,
    TIPSIZEDATA[] pSizeData
)
int GetSizePreferences(
    [OutAttribute] array<RECT>^ prcCtxBounds, 
    [OutAttribute] array<TIPSIZEDATA>^ pSizeData
)
function GetSizePreferences(
    prcCtxBounds : RECT[], 
    pSizeData : TIPSIZEDATA[]
) : int

Parameters

  • prcCtxBounds
    Type: []

    [out] The bounding rectangle of the tip window, in screen coordinates.

  • pSizeData
    Type: []

    [out] Size and position of the tip window. For a list of pSizeData values, see TIPSIZEDATA.

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsTipWindow.GetSizePreferences([], [])

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextTipWindow::GetSizePreferences(
   [out] const RECT *prcCtxBounds,
   [out] TIPSIZEDATA *pSizeData
);

Permissions

See Also

Reference

IVsTextTipWindow Interface

IVsTextTipWindow Members

Microsoft.VisualStudio.TextManager.Interop Namespace