Condividi tramite


Metodo IVsTextTipWindow.GetSizePreferences

Ottiene le preferenze di dimensioni della finestra del suggerimento.

Spazio dei nomi:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Sintassi

'Dichiarazione
Function GetSizePreferences ( _
    <OutAttribute> prcCtxBounds As RECT(), _
    <OutAttribute> pSizeData As TIPSIZEDATA() _
) As Integer
int GetSizePreferences(
    RECT[] prcCtxBounds,
    TIPSIZEDATA[] pSizeData
)
int GetSizePreferences(
    [OutAttribute] array<RECT>^ prcCtxBounds, 
    [OutAttribute] array<TIPSIZEDATA>^ pSizeData
)
abstract GetSizePreferences : 
        prcCtxBounds:RECT[] byref * 
        pSizeData:TIPSIZEDATA[] byref -> int
function GetSizePreferences(
    prcCtxBounds : RECT[], 
    pSizeData : TIPSIZEDATA[]
) : int

Parametri

  • prcCtxBounds
    Tipo: array<RECT[]

    [out] Il rettangolo di delimitazione della finestra del suggerimento, nelle coordinate dello schermo.

Valore restituito

Tipo: Int32
Se il metodo ha esito positivo, restituisce S_OK.Se non riesce, restituisce un codice di errore.

Note

Firma COM

da textmgr.idl:

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

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IVsTextTipWindow Interfaccia

Spazio dei nomi Microsoft.VisualStudio.TextManager.Interop