Share via


IVsTextMarkerGlyphDropHandler.DropAtLocation Method

Tells the client to handle the glyph being dropped at the given location.

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

Syntax

'Declaration
Function DropAtLocation ( _
    dwReserved As UInteger, _
    pDestView As IVsTextView, _
    pDestBuffer As IVsTextLines, _
    iLine As Integer, _
    iIndex As Integer, _
    <OutAttribute> ByRef pdwDropResult As UInteger _
) As Integer
int DropAtLocation(
    uint dwReserved,
    IVsTextView pDestView,
    IVsTextLines pDestBuffer,
    int iLine,
    int iIndex,
    out uint pdwDropResult
)
int DropAtLocation(
    [InAttribute] unsigned int dwReserved, 
    [InAttribute] IVsTextView^ pDestView, 
    [InAttribute] IVsTextLines^ pDestBuffer, 
    [InAttribute] int iLine, 
    [InAttribute] int iIndex, 
    [OutAttribute] unsigned int% pdwDropResult
)
abstract DropAtLocation : 
        dwReserved:uint32 * 
        pDestView:IVsTextView * 
        pDestBuffer:IVsTextLines * 
        iLine:int * 
        iIndex:int * 
        pdwDropResult:uint32 byref -> int
function DropAtLocation(
    dwReserved : uint, 
    pDestView : IVsTextView, 
    pDestBuffer : IVsTextLines, 
    iLine : int, 
    iIndex : int, 
    pdwDropResult : uint
) : int

Parameters

  • iLine
    Type: System.Int32

    [in] Line within the text buffer.

  • iIndex
    Type: System.Int32

    [in] Char index position within the line in the text buffer.

Return Value

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextMarkerGlyphDropHandler::DropAtLocation(
   [in] DWORD dwReserved,
   [in] IVsTextView *pDestView,
   [in] IVsTextLines *pDestBuffer,
   [in] long iLine,
   [in] CharIndex iIndex,
   [out] DWORD *pdwDropResult
);

.NET Framework Security

See Also

Reference

IVsTextMarkerGlyphDropHandler Interface

Microsoft.VisualStudio.TextManager.Interop Namespace