次の方法で共有


CompoundViewAction(IVsTextView, String) Constructor

Definition

Initializes a new instance of the CompoundViewAction class.

public:
 CompoundViewAction(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ view, System::String ^ description);
public:
 CompoundViewAction(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ view, Platform::String ^ description);
 CompoundViewAction(Microsoft::VisualStudio::TextManager::Interop::IVsTextView const & view, std::wstring const & description);
public CompoundViewAction (Microsoft.VisualStudio.TextManager.Interop.IVsTextView view, string description);
new Microsoft.VisualStudio.Package.CompoundViewAction : Microsoft.VisualStudio.TextManager.Interop.IVsTextView * string -> Microsoft.VisualStudio.Package.CompoundViewAction
Public Sub New (view As IVsTextView, description As String)

Parameters

view
IVsTextView

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

description
String

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

Remarks

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

Applies to