Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.9.0 (in Microsoft.VisualStudio.TextManager.Interop.9.0.dll)
Syntax
'Declaration
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
- iPos
Type: System.Int32 
- iLen
Type: System.Int32 
- fUseCaretPosition
Type: System.Int32 
- prc
Type: array<Microsoft.VisualStudio.OLE.Interop.RECT[] 
- piTopX
Type: System.Int32% 
Return Value
Type: System.Int32
.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.