다음을 통해 공유


IVsTextMarkerGlyphDropHandler.QueryDropLocation 메서드

사용 하 여 지정 된 위치에서 유효한 놓기 대상 인지 여부를 확인 합니다.

네임스페이스:  Microsoft.VisualStudio.TextManager.Interop
어셈블리:  Microsoft.VisualStudio.TextManager.Interop(Microsoft.VisualStudio.TextManager.Interop.dll)

구문

‘선언
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

매개 변수

  • dwReserved
    형식: UInt32

    [in] 사용 하지 않습니다.

  • iLine
    형식: Int32

    [in] 버퍼 내에서 제안 된 선입니다.

  • iIndex
    형식: Int32

    [in] 텍스트 버퍼에서 줄 내에서 문자 인덱스 위치를 제안 합니다.

  • pdwDropResult
    형식: UInt32%

    [out] 놓기 상태를 나타냅니다. 비트는 함께 나의 빗자루 효과 CUSTOM_DROP_HANDLER_FLAGS.

반환 값

형식: Int32
메서드가 성공 하면, 반환 S_OK.실패할 경우 오류 코드를 반환합니다.

설명

COM 시그니처

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 보안

참고 항목

참조

IVsTextMarkerGlyphDropHandler 인터페이스

Microsoft.VisualStudio.TextManager.Interop 네임스페이스