ITextUndoHistoryRegistry::TryGetHistory Method (Object^, ITextUndoHistory^)
Visual Studio 2015
Gets a history associated with the text buffer, but does not create a new one.
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Parameters
- context
-
Type:
System::Object^
This object should always be an ITextBuffer.
- history
-
Type:
Microsoft.VisualStudio.Text.Operations::ITextUndoHistory^
[out] An ITextUndoHistory associated with the text buffer.
Return Value
Type: System::Booleantrue if there is an undo history associated with the specified text buffer, otherwise false.
Show: