Compartilhar via


ITextUndoHistoryRegistry.GetHistory(Object) Method

Definition

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

public:
 Microsoft::VisualStudio::Text::Operations::ITextUndoHistory ^ GetHistory(System::Object ^ context);
public:
 Microsoft::VisualStudio::Text::Operations::ITextUndoHistory ^ GetHistory(Platform::Object ^ context);
Microsoft::VisualStudio::Text::Operations::ITextUndoHistory GetHistory(winrt::Windows::Foundation::IInspectable const & context);
public Microsoft.VisualStudio.Text.Operations.ITextUndoHistory GetHistory (object context);
abstract member GetHistory : obj -> Microsoft.VisualStudio.Text.Operations.ITextUndoHistory
Public Function GetHistory (context As Object) As ITextUndoHistory

Parameters

context
Object

An arbitrary context object.

Returns

An ITextUndoHistory associated with the context object.

Applies to