IVsTextMarkerGlyphDropHandler::DropAtLocation Method (UInt32, IVsTextView^, IVsTextLines^, Int32, Int32, UInt32)
Visual Studio 2015
Tells the client to handle the glyph being dropped at the given location.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
int DropAtLocation( unsigned int dwReserved, IVsTextView^ pDestView, IVsTextLines^ pDestBuffer, int iLine, int iIndex, [OutAttribute] unsigned int% pdwDropResult )
Parameters
- dwReserved
-
Type:
System::UInt32
[in] Do not use.
- pDestView
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsTextView^
[in] Pointer to the destination view. For more information, see IVsTextView.
- pDestBuffer
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsTextLines^
[in] Pointer to the destination buffer. For more information, see IVsTextLines.
- 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.
- pdwDropResult
-
Type:
System::UInt32
[out] Indicates drop status. Combining with a bitwise or of CUSTOM_DROP_HANDLER_FLAGS.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsTextMarkerGlyphDropHandler::DropAtLocation( [in] DWORD dwReserved, [in] IVsTextView *pDestView, [in] IVsTextLines *pDestBuffer, [in] long iLine, [in] CharIndex iIndex, [out] DWORD *pdwDropResult );
Show: