Partilhar via


Método IVsTextMarkerGlyphDropHandler.QueryDropLocation

Usado para determinar se um determinado local é um destino de soltar válidas.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (em Microsoft.VisualStudio.TextManager.Interop.dll)

Sintaxe

'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

Parâmetros

  • dwReserved
    Tipo: UInt32

    [in] Não use.

  • iLine
    Tipo: Int32

    [in] Linha de proposta dentro do buffer de texto.

  • iIndex
    Tipo: Int32

    [in] Proposta de posição de índice de char dentro da linha no buffer de texto.

Valor de retorno

Tipo: Int32
Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De textmgr.idl:

HRESULT IVsTextMarkerGlyphDropHandler::QueryDropLocation(
   [in] DWORD dwReserved,
   [in] IVsTextView *pDestView,
   [in] IVsTextLines *pDestBuffer,
   [in] long iLine,
   [in] CharIndex iIndex,
   [out] DWORD *pdwDropResult
);

Segurança do .NET Framework

Consulte também

Referência

IVsTextMarkerGlyphDropHandler Interface

Namespace Microsoft.VisualStudio.TextManager.Interop