DocData 构造函数

初始化 DocData 类的新实例。

命名空间:  Microsoft.VisualStudio.Modeling.Shell
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)

语法

声明
Protected Sub New ( _
    serviceProvider As IServiceProvider, _
    editorId As Guid _
)
protected DocData(
    IServiceProvider serviceProvider,
    Guid editorId
)

参数

  • serviceProvider
    类型:System.IServiceProvider
    是本地对该类的服务提供程序。此服务提供程序中检索 Visual Studio 选择服务。
  • editorId
    类型:System.Guid
    使用的编辑器工厂的 ID。

备注

编辑工厂实现 GetGuidEditorType

.NET Framework 安全性

请参见

参考

DocData 类

Microsoft.VisualStudio.Modeling.Shell 命名空间