Sdílet prostřednictvím


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

Definition

Gets the size of the language 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[]

[in] RECT struct containing the tip window coordinates.

pSizeData
TIPSIZEDATA[]

[in] Pointer to the size of the tip.

Returns

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

Remarks

C++

From singlefileeditor.idl:

HRESULT IVsIntellisenseLangTip::GetSizePreferences([in] RECT *prcCtxBounds, [in] TIPSIZEDATA *pSizeData);

Applies to