IVsTextLines.GetUndoManager(IOleUndoManager) 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.
Retourne le gestionnaire d'annulation pour cette mémoire tampon.
public:
int GetUndoManager([Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IOleUndoManager ^ % ppUndoManager);
public:
int GetUndoManager([Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IOleUndoManager ^ & ppUndoManager);
int GetUndoManager([Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IOleUndoManager const & & ppUndoManager);
public int GetUndoManager (out Microsoft.VisualStudio.OLE.Interop.IOleUndoManager ppUndoManager);
abstract member GetUndoManager : IOleUndoManager -> int
Public Function GetUndoManager (ByRef ppUndoManager As IOleUndoManager) As Integer
Paramètres
- ppUndoManager
- IOleUndoManager
[out] Pointeur vers l'interface IOleUndoManager.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.
Implémente
Remarques
Signature COM
À partir de textmgr. idl :
HRESULT IVsTextLines::GetUndoManager(
[out] IOleUndoManager **ppUndoManager
);
Cette méthode peut nécessiter des ressources considérables, en fonction de l’implémentation sous-jacente de la mémoire tampon. Autrement dit, il peut être très difficile de calculer la taille de la mémoire tampon s’il s’agit d’une implémentation orientée ligne virtuelle comme dans Visual Basic .