ProvideXmlEditorChooserDesignerViewAttribute 构造函数

ProvideXmlEditorChooserDesignerViewAttribute 的构造函数。

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

语法

声明
Public Sub New ( _
    name As String, _
    extension As String, _
    defaultLogicalViewEditorFactory As Object, _
    xmlChooserPriority As Integer _
)
public ProvideXmlEditorChooserDesignerViewAttribute(
    string name,
    string extension,
    Object defaultLogicalViewEditorFactory,
    int xmlChooserPriority
)

参数

  • name
    类型:System.String
    您的XML 编辑器的注册表键名。例如 “RESX”,“Silverlight”,“Workflow”,等。
  • extension
    类型:System.String
    自定义 XML 类型 (即“xaml”、“Resource”、“xsd”) 文件扩展名。
  • defaultLogicalViewEditorFactory
    类型:System.Object
    表示默认逻辑视图中的编辑器工厂的类型、GUID 或字符串对象。
  • xmlChooserPriority
    类型:System.Int32
    XML 选择器的扩展名的优先级。此值必须大于 XML 设计器的 EditorFactory 的扩展优先值。

.NET Framework 安全性

请参阅

参考

ProvideXmlEditorChooserDesignerViewAttribute 类

Microsoft.VisualStudio.Modeling.Shell 命名空间