다음을 통해 공유


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

‘선언
Function DropAtLocation ( _
    dwReserved As UInteger, _
    pDestView As IVsTextView, _
    pDestBuffer As IVsTextLines, _
    iLine As Integer, _
    iIndex As Integer, _
    <OutAttribute> ByRef pdwDropResult As UInteger _
) As Integer
‘사용 방법
Dim instance As IVsTextMarkerGlyphDropHandler
Dim dwReserved As UInteger
Dim pDestView As IVsTextView
Dim pDestBuffer As IVsTextLines
Dim iLine As Integer
Dim iIndex As Integer
Dim pdwDropResult As UInteger
Dim returnValue As Integer

returnValue = instance.DropAtLocation(dwReserved, _
    pDestView, pDestBuffer, iLine, iIndex, _
    pdwDropResult)
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

IVsTextMarkerGlyphDropHandler Members

Microsoft.VisualStudio.TextManager.Interop Namespace