CompoundViewAction Constructor
Initializes a new instance of the CompoundViewAction class.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Declaration
Public Sub New ( _
view As IVsTextView, _
description As String _
)
public CompoundViewAction(
IVsTextView view,
string description
)
public:
CompoundViewAction(
IVsTextView^ view,
String^ description
)
new :
view:IVsTextView *
description:string -> CompoundViewAction
public function CompoundViewAction(
view : IVsTextView,
description : String
)
Parameters
view
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextView[in] An IVsTextView object representing the view that is to receive the edit events.
description
Type: 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.