IVsIntellisenseLangTip.GetSizePreferences Method
Gets the size of the language tip window.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
‘선언
Function GetSizePreferences ( _
prcCtxBounds As RECT(), _
pSizeData As TIPSIZEDATA() _
) As Integer
‘사용 방법
Dim instance As IVsIntellisenseLangTip
Dim prcCtxBounds As RECT()
Dim pSizeData As TIPSIZEDATA()
Dim returnValue As Integer
returnValue = instance.GetSizePreferences(prcCtxBounds, _
pSizeData)
int GetSizePreferences(
RECT[] prcCtxBounds,
TIPSIZEDATA[] pSizeData
)
int GetSizePreferences(
[InAttribute] array<RECT>^ prcCtxBounds,
[InAttribute] array<TIPSIZEDATA>^ pSizeData
)
abstract GetSizePreferences :
prcCtxBounds:RECT[] *
pSizeData:TIPSIZEDATA[] -> int
function GetSizePreferences(
prcCtxBounds : RECT[],
pSizeData : TIPSIZEDATA[]
) : int
Parameters
- prcCtxBounds
Type: array<Microsoft.VisualStudio.OLE.Interop.RECT[]
- pSizeData
Type: array<Microsoft.VisualStudio.TextManager.Interop.TIPSIZEDATA[]
Return Value
Type: System.Int32
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);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsIntellisenseLangTip Interface