다음을 통해 공유


IVsTextViewIntellisenseHost.GetContextLocation Method (Int32, Int32, Int32, array<RECT , Int32%)

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

Syntax

‘선언
Function GetContextLocation ( _
    iPos As Integer, _
    iLen As Integer, _
    fUseCaretPosition As Integer, _
    <OutAttribute> prc As RECT(), _
    <OutAttribute> ByRef piTopX As Integer _
) As Integer
int GetContextLocation(
    int iPos,
    int iLen,
    int fUseCaretPosition,
    RECT[] prc,
    out int piTopX
)
int GetContextLocation(
    [InAttribute] int iPos, 
    [InAttribute] int iLen, 
    [InAttribute] int fUseCaretPosition, 
    [OutAttribute] array<RECT>^ prc, 
    [OutAttribute] int% piTopX
)
abstract GetContextLocation : 
        iPos:int * 
        iLen:int * 
        fUseCaretPosition:int * 
        prc:RECT[] byref * 
        piTopX:int byref -> int 
function GetContextLocation(
    iPos : int, 
    iLen : int, 
    fUseCaretPosition : int, 
    prc : RECT[], 
    piTopX : int
) : int

Parameters

Return Value

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

Implements

IVsIntellisenseHost.GetContextLocation(Int32, Int32, Int32, array<RECT[], Int32%)

Remarks

From singlefileeditor.idl:

HRESULT IVsTextViewIntellisenseHost::GetContextLocation([in]long iPos, [in]long iLen, [in] bool fUseCaretPosition, [out]RECT *prc, [out]long *piTopX);

.NET Framework Security

See Also

Reference

IVsTextViewIntellisenseHost Interface

GetContextLocation Overload

Microsoft.VisualStudio.TextManager.Interop Namespace