Compartilhar via


IVsMethodTipWindow.GetSizePreferences(RECT[], TIPSIZEDATA[]) Method

Definition

Returns the size preferences for the tip window.

public:
 int GetSizePreferences(cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ prcCtxBounds, cli::array <Microsoft::VisualStudio::TextManager::Interop::TIPSIZEDATA> ^ pSizeData);
int GetSizePreferences(std::Array <Microsoft::VisualStudio::OLE::Interop::RECT> const & prcCtxBounds, std::Array <Microsoft::VisualStudio::TextManager::Interop::TIPSIZEDATA> const & pSizeData);
public int GetSizePreferences (Microsoft.VisualStudio.OLE.Interop.RECT[] prcCtxBounds, Microsoft.VisualStudio.TextManager.Interop.TIPSIZEDATA[] pSizeData);
abstract member GetSizePreferences : Microsoft.VisualStudio.OLE.Interop.RECT[] * Microsoft.VisualStudio.TextManager.Interop.TIPSIZEDATA[] -> int
Public Function GetSizePreferences (prcCtxBounds As RECT(), pSizeData As TIPSIZEDATA()) As Integer

Parameters

prcCtxBounds
RECT[]

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

pSizeData
TIPSIZEDATA[]

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

Returns

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

Implements

Remarks

COM Signature

From textmgr.idl:

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

Applies to