IVsTextMarkerGlyphDropHandler.DropAtLocation(UInt32, IVsTextView, IVsTextLines, Int32, Int32, UInt32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Indique au client de gérer le glyphe en cours de suppression à l'emplacement spécifié.
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
Paramètres
- dwReserved
- UInt32
[in] Ne pas utiliser.
- pDestView
- IVsTextView
[in] Pointeur vers la vue de destination. Pour plus d’informations, consultez IVsTextView.
- pDestBuffer
- IVsTextLines
[in] Pointeur vers la mémoire tampon de destination. Pour plus d’informations, consultez IVsTextLines.
- iLine
- Int32
[in] Ligne dans la mémoire tampon du texte.
- iIndex
- Int32
[in] Position d'index de caractère dans la ligne de la mémoire tampon de texte.
- pdwDropResult
- UInt32
[out] Indique l'état du déplacement. Combinaison d'une opération de bits OR de CUSTOM_DROP_HANDLER_FLAGS.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.
Remarques
Signature COM
À partir de textmgr. idl :
HRESULT IVsTextMarkerGlyphDropHandler::DropAtLocation(
[in] DWORD dwReserved,
[in] IVsTextView *pDestView,
[in] IVsTextLines *pDestBuffer,
[in] long iLine,
[in] CharIndex iIndex,
[out] DWORD *pdwDropResult
);