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
声明
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: System.Object
This object should always be an ITextBuffer. 
Return Value
Type: Microsoft.VisualStudio.Text.Operations.ITextUndoHistory
An ITextUndoHistory.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.