IVsTextMarkerGlyphDropHandler.QueryDropLocation Method
Used to determine whether a given location is a valid drop destination.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaração
Function QueryDropLocation ( _
dwReserved As UInteger, _
pDestView As IVsTextView, _
pDestBuffer As IVsTextLines, _
iLine As Integer, _
iIndex As Integer, _
<OutAttribute> ByRef pdwDropResult As UInteger _
) As Integer
int QueryDropLocation(
uint dwReserved,
IVsTextView pDestView,
IVsTextLines pDestBuffer,
int iLine,
int iIndex,
out uint pdwDropResult
)
int QueryDropLocation(
[InAttribute] unsigned int dwReserved,
[InAttribute] IVsTextView^ pDestView,
[InAttribute] IVsTextLines^ pDestBuffer,
[InAttribute] int iLine,
[InAttribute] int iIndex,
[OutAttribute] unsigned int% pdwDropResult
)
abstract QueryDropLocation :
dwReserved:uint32 *
pDestView:IVsTextView *
pDestBuffer:IVsTextLines *
iLine:int *
iIndex:int *
pdwDropResult:uint32 byref -> int
function QueryDropLocation(
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 proposed destination view. For more information, see IVsTextView.
- pDestBuffer
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextLines
[in] Pointer to the proposed destination buffer. For more information, see IVsTextLines.
- iLine
Type: System.Int32
[in] Proposed line within the text buffer.
- iIndex
Type: System.Int32
[in] Proposed char index position within the line in the text buffer.
- pdwDropResult
Type: System.UInt32%
[out] Indicates drop status. Combing 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::QueryDropLocation(
[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.