Freigeben über


VsSmartTagTipWindowClass.GetSizePreferences Method

Returns the size preferences for a tip window.

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

Syntax

'Declaration
Public Overridable Function GetSizePreferences ( _
    prcCtxBounds As RECT(), _
    <OutAttribute> pSizeData As SMARTTAGSIZEDATA() _
) As Integer
'Usage
Dim instance As VsSmartTagTipWindowClass
Dim prcCtxBounds As RECT()
Dim pSizeData As SMARTTAGSIZEDATA()
Dim returnValue As Integer

returnValue = instance.GetSizePreferences(prcCtxBounds, _
    pSizeData)
public virtual int GetSizePreferences(
    RECT[] prcCtxBounds,
    SMARTTAGSIZEDATA[] pSizeData
)
public:
virtual int GetSizePreferences(
    [InAttribute] array<RECT>^ prcCtxBounds, 
    [OutAttribute] array<SMARTTAGSIZEDATA>^ pSizeData
)
abstract GetSizePreferences : 
        prcCtxBounds:RECT[] * 
        pSizeData:SMARTTAGSIZEDATA[] byref -> int 
override GetSizePreferences : 
        prcCtxBounds:RECT[] * 
        pSizeData:SMARTTAGSIZEDATA[] byref -> int 
public function GetSizePreferences(
    prcCtxBounds : RECT[], 
    pSizeData : SMARTTAGSIZEDATA[]
) : int

Parameters

Return Value

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

Implements

IVsSmartTagTipWindow.GetSizePreferences(array<RECT[], array<SMARTTAGSIZEDATA[])

.NET Framework Security

See Also

Reference

VsSmartTagTipWindowClass Class

VsSmartTagTipWindowClass Members

Microsoft.VisualStudio.TextManager.Interop Namespace