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
'Déclaration
Function DropAtLocation ( _
dwReserved As UInteger, _
pDestView As IVsTextView, _
pDestBuffer As IVsTextLines, _
iLine As Integer, _
iIndex As Integer, _
<OutAttribute> ByRef pdwDropResult As UInteger _
) As Integer
'Utilisation
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
- 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.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
- 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.
See Also
Reference
IVsTextMarkerGlyphDropHandler Interface