CompoundViewAction Constructor (IVsTextView^, String^)

 

Initializes a new instance of the CompoundViewAction class.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
CompoundViewAction(
	IVsTextView^ view,
	String^ description
)

Parameters

view
Type: Microsoft.VisualStudio.TextManager.Interop::IVsTextView^

[in] An IVsTextView object representing the view that is to receive the edit events.

description
Type: System::String^

[in] A string containing a description to label the undo action.

This constructor caches the IVsTextView object, obtains the IVsCompoundAction interface from the IVsTextView object, and calls the OpenCompoundAction method on the IVsCompoundAction interface.

Return to top
Show: