IVsTextMarkerGlyphDropHandler.QueryDropLocation (Método)
Se utiliza para determinar si una ubicación especificada es un destino válido de entrega.
Espacio de nombres: Microsoft.VisualStudio.TextManager.Interop
Ensamblado: Microsoft.VisualStudio.TextManager.Interop (en Microsoft.VisualStudio.TextManager.Interop.dll)
Sintaxis
'Declaración
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
Parámetros
dwReserved
Tipo: UInt32[in] no utilice.
pDestView
Tipo: Microsoft.VisualStudio.TextManager.Interop.IVsTextView[in] Puntero a la vista propuesta de destino. Para obtener más información, vea IVsTextView.
pDestBuffer
Tipo: Microsoft.VisualStudio.TextManager.Interop.IVsTextLines[in] Puntero al búfer propuesto de destino. Para obtener más información, vea IVsTextLines.
iLine
Tipo: Int32[in] Línea propuesta dentro del búfer de texto.
iIndex
Tipo: Int32[in] Posición de índice propuesta char en la línea en el búfer de texto.
pdwDropResult
Tipo: UInt32%[out] Indica el estado de entrega. el peinarse con un bit a bit o de CUSTOM_DROP_HANDLER_FLAGS.
Valor devuelto
Tipo: Int32
si el método tiene éxito, devuelve S_OK.Si se produce un error, devuelve un código de error.
Comentarios
Prototipo COM
de textmgr.idl:
HRESULT IVsTextMarkerGlyphDropHandler::QueryDropLocation(
[in] DWORD dwReserved,
[in] IVsTextView *pDestView,
[in] IVsTextLines *pDestBuffer,
[in] long iLine,
[in] CharIndex iIndex,
[out] DWORD *pdwDropResult
);
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.
Vea también
Referencia
IVsTextMarkerGlyphDropHandler Interfaz
Microsoft.VisualStudio.TextManager.Interop (Espacio de nombres)