ITextUndoHistoryRegistry::RegisterHistory Method (Object^)

 

Gets, and if necessary creates, a history associated with the context.

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

ITextUndoHistory^ RegisterHistory(
	Object^ context
)

Parameters

context
Type: System::Object^

This object should always be an ITextBuffer.

Only a weak reference is held to the buffer.

Return to top
Show: