CompoundViewAction 构造函数

初始化 CompoundViewAction 类的新实例。

命名空间:  Microsoft.VisualStudio.Package
程序集:   Microsoft.VisualStudio.Package.LanguageService(在 Microsoft.VisualStudio.Package.LanguageService.dll 中)
  Microsoft.VisualStudio.Package.LanguageService.11.0(在 Microsoft.VisualStudio.Package.LanguageService.11.0.dll 中)
  Microsoft.VisualStudio.Package.LanguageService.9.0(在 Microsoft.VisualStudio.Package.LanguageService.9.0.dll 中)
  Microsoft.VisualStudio.Package.LanguageService.10.0(在 Microsoft.VisualStudio.Package.LanguageService.10.0.dll 中)

语法

声明
Public Sub New ( _
    view As IVsTextView, _
    description As String _
)
public CompoundViewAction(
    IVsTextView view,
    string description
)

参数

  • description
    类型:System.String
    [in] 包含描述的字符串标记来取消事件。

备注

此构造函数缓存 IVsTextView 对象,从 IVsTextView 对象的 IVsCompoundAction 接口,并调用 IVsCompoundAction 接口的 OpenCompoundAction 方法。

.NET Framework 安全性

请参见

参考

CompoundViewAction 类

Microsoft.VisualStudio.Package 命名空间