Delen via


VsMethodTipWindowClass.GetSizePreferences Method

Returns the preferred sizes for the tip window.

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

Syntax

'Declaration
Public Overridable Function GetSizePreferences ( _
    <OutAttribute> prcCtxBounds As RECT(), _
    <OutAttribute> pSizeData As TIPSIZEDATA() _
) As Integer
public virtual int GetSizePreferences(
    RECT[] prcCtxBounds,
    TIPSIZEDATA[] pSizeData
)
public:
virtual int GetSizePreferences(
    [OutAttribute] array<RECT>^ prcCtxBounds, 
    [OutAttribute] array<TIPSIZEDATA>^ pSizeData
)
abstract GetSizePreferences : 
        prcCtxBounds:RECT[] byref * 
        pSizeData:TIPSIZEDATA[] byref -> int  
override GetSizePreferences : 
        prcCtxBounds:RECT[] byref * 
        pSizeData:TIPSIZEDATA[] byref -> 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

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

.NET Framework Security

See Also

Reference

VsMethodTipWindowClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace