Partager via


VsIntellisenseLangTipClass.GetSizePreferences Method

Gets the size of the language tip window.

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

Syntax

'Déclaration
Public Overridable Function GetSizePreferences ( _
    prcCtxBounds As RECT(), _
    pSizeData As TIPSIZEDATA() _
) As Integer
public virtual int GetSizePreferences(
    RECT[] prcCtxBounds,
    TIPSIZEDATA[] pSizeData
)
public:
virtual int GetSizePreferences(
    [InAttribute] array<RECT>^ prcCtxBounds, 
    [InAttribute] array<TIPSIZEDATA>^ pSizeData
)
abstract GetSizePreferences : 
        prcCtxBounds:RECT[] * 
        pSizeData:TIPSIZEDATA[] -> int 
override GetSizePreferences : 
        prcCtxBounds:RECT[] * 
        pSizeData:TIPSIZEDATA[] -> int 
public function GetSizePreferences(
    prcCtxBounds : RECT[], 
    pSizeData : TIPSIZEDATA[]
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsIntellisenseLangTip.GetSizePreferences(array<RECT[], array<TIPSIZEDATA[])

.NET Framework Security

See Also

Reference

VsIntellisenseLangTipClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace