ITextUndoHistoryRegistry.AttachHistory, méthode

Joint ITextUndoHistory existant à une mémoire tampon de texte. La mémoire tampon ne doit pas déjà être mappée dans ce Registre.

Espace de noms :  Microsoft.VisualStudio.Text.Operations
Assembly :  Microsoft.VisualStudio.Text.Logic (dans Microsoft.VisualStudio.Text.Logic.dll)

Syntaxe

'Déclaration
Sub AttachHistory ( _
    context As Object, _
    history As ITextUndoHistory _
)
void AttachHistory(
    Object context,
    ITextUndoHistory history
)
void AttachHistory(
    Object^ context, 
    ITextUndoHistory^ history
)
abstract AttachHistory : 
        context:Object * 
        history:ITextUndoHistory -> unit
function AttachHistory(
    context : Object, 
    history : ITextUndoHistory
)

Paramètres

  • context
    Type : Object

    Cet objet doit toujours être ITextBuffer.

Notes

Uniquement une référence faible est maintenue à la mémoire tampon.

Sécurité .NET Framework

Voir aussi

Référence

ITextUndoHistoryRegistry Interface

Microsoft.VisualStudio.Text.Operations, espace de noms