ProvideXmlEditorChooserDesignerViewAttribute Constructor

Definition

Constructor for 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)

Parameters

name
String

The registry keyName for your XML editor. For example "RESX", "Silverlight", "Workflow", etc...

extension
String

The file extension for your custom XML type (e.g. "xaml", "resx", "xsd").

defaultLogicalViewEditorFactory
Object

A Type, Guid, or String object representing the editor factory for the default logical view.

xmlChooserPriority
Int32

The priority of the extension in the XML Chooser. This value must be greater than the extension's priority value for the XML designer's EditorFactory.

Applies to