ProvideXmlEditorChooserDesignerViewAttribute 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
ProvideXmlEditorChooserDesignerViewAttribute 的构造函数。
public:
ProvideXmlEditorChooserDesignerViewAttribute(System::String ^ name, System::String ^ extension, System::Object ^ defaultLogicalViewEditorFactory, int xmlChooserPriority);
public ProvideXmlEditorChooserDesignerViewAttribute (string name, string extension, object defaultLogicalViewEditorFactory, int xmlChooserPriority);
new Microsoft.VisualStudio.Modeling.Shell.ProvideXmlEditorChooserDesignerViewAttribute : string * string * obj * int -> Microsoft.VisualStudio.Modeling.Shell.ProvideXmlEditorChooserDesignerViewAttribute
Public Sub New (name As String, extension As String, defaultLogicalViewEditorFactory As Object, xmlChooserPriority As Integer)
参数
- name
- String
XML 编辑器的注册表 keyName。 例如,"RESX"、"Silverlight"、"Workflow" 等。
- extension
- String
自定义 XML 类型的文件扩展名 (例如 "xaml"、"resx"、"xsd" ) 。
- defaultLogicalViewEditorFactory
- Object
表示默认逻辑视图的编辑器工厂的类型、Guid 或字符串对象。
- xmlChooserPriority
- Int32
XML 选择器中扩展的优先级。 此值必须大于 XML 设计器的 EditorFactory 的扩展的优先级值。