Share via


ITextUndoHistoryRegistry.GetHistory Method

Gets a history associated with the text buffer, but does not create a new one.

Namespace:  Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'Declaration
Function GetHistory ( _
    context As Object _
) As ITextUndoHistory
ITextUndoHistory GetHistory(
    Object context
)
ITextUndoHistory^ GetHistory(
    Object^ context
)
abstract GetHistory : 
        context:Object -> ITextUndoHistory
function GetHistory(
    context : Object
) : ITextUndoHistory

Parameters

  • context
    Type: Object

    This object should always be an ITextBuffer.

Return Value

Type: Microsoft.VisualStudio.Text.Operations.ITextUndoHistory
An ITextUndoHistory.

.NET Framework Security

See Also

Reference

ITextUndoHistoryRegistry Interface

Microsoft.VisualStudio.Text.Operations Namespace