IVsTextMarkerGlyphDropHandler.DropAtLocation 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
通知客户端处理在给定位置删除的标志符号。
public:
int DropAtLocation(System::UInt32 dwReserved, Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ pDestView, Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ pDestBuffer, int iLine, int iIndex, [Runtime::InteropServices::Out] System::UInt32 % pdwDropResult);
int DropAtLocation(unsigned int dwReserved, Microsoft::VisualStudio::TextManager::Interop::IVsTextView const & pDestView, Microsoft::VisualStudio::TextManager::Interop::IVsTextLines const & pDestBuffer, int iLine, int iIndex, [Runtime::InteropServices::Out] unsigned int & pdwDropResult);
public int DropAtLocation (uint dwReserved, Microsoft.VisualStudio.TextManager.Interop.IVsTextView pDestView, Microsoft.VisualStudio.TextManager.Interop.IVsTextLines pDestBuffer, int iLine, int iIndex, out uint pdwDropResult);
abstract member DropAtLocation : uint32 * Microsoft.VisualStudio.TextManager.Interop.IVsTextView * Microsoft.VisualStudio.TextManager.Interop.IVsTextLines * int * int * uint32 -> int
Public Function DropAtLocation (dwReserved As UInteger, pDestView As IVsTextView, pDestBuffer As IVsTextLines, iLine As Integer, iIndex As Integer, ByRef pdwDropResult As UInteger) As Integer
参数
- dwReserved
- UInt32
中请勿使用。
- pDestView
- IVsTextView
中指向目标视图的指针。 有关详细信息,请参阅 IVsTextView。
- pDestBuffer
- IVsTextLines
中指向目标缓冲区的指针。 有关详细信息,请参阅 IVsTextLines。
- iLine
- Int32
中文本缓冲区中的行。
- iIndex
- Int32
中文本缓冲区内行内的字符索引位置。
- pdwDropResult
- UInt32
弄指示 drop 状态。 与按位 "或" 组合 CUSTOM_DROP_HANDLER_FLAGS 。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
注解
COM 签名
从 textmgr:
HRESULT IVsTextMarkerGlyphDropHandler::DropAtLocation(
[in] DWORD dwReserved,
[in] IVsTextView *pDestView,
[in] IVsTextLines *pDestBuffer,
[in] long iLine,
[in] CharIndex iIndex,
[out] DWORD *pdwDropResult
);