VsMethodTipWindowClass::GetSizePreferences Method (array<RECT>^, array<TIPSIZEDATA>^)
Visual Studio 2015
Returns the preferred sizes for the tip window.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
public: virtual int GetSizePreferences( array<RECT>^ prcCtxBounds, array<TIPSIZEDATA>^ pSizeData )
Parameters
- prcCtxBounds
-
Type:
array<Microsoft.VisualStudio.OLE.Interop::RECT>^
[out]The bounding rectangle of the tip window in screen coordinates.
- pSizeData
-
Type:
array<Microsoft.VisualStudio.TextManager.Interop::TIPSIZEDATA>^
[out]Size and position of the tip window. For a list of pSizeData values see TIPSIZEDATA.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: