Share via


ProvideXmlEditorChooserDesignerViewAttribute Class

Definition

Used to provide registration information to the XML Chooser for a custom XML designer.

public ref class ProvideXmlEditorChooserDesignerViewAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class ProvideXmlEditorChooserDesignerViewAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
type ProvideXmlEditorChooserDesignerViewAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class ProvideXmlEditorChooserDesignerViewAttribute
Inherits RegistrationAttribute
Inheritance
ProvideXmlEditorChooserDesignerViewAttribute
Attributes

Constructors

ProvideXmlEditorChooserDesignerViewAttribute(String, String, Object, Int32)

Constructor for ProvideXmlEditorChooserDesignerViewAttribute.

Properties

CodeLogicalViewEditor

The editor factory to associate with the code logical view

DebuggingLogicalViewEditor

The editor factory to associate with the debugging logical view

DefaultLogicalView

A unique Id of the editor factory for the default logical view.

DesignerLogicalViewEditor

The editor factory to associate with the designer logical view

Extension

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

IsDataSet

Special value used only by the DataSet designer.

MatchExtensionAndNamespace

Boolean value indicating whether the XML chooser should match on both the file extension and the Namespace. If false, the XML chooser will match on either the extension or the Namespace.

Name

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

Namespace

The XML Namespace used in documents that this editor supports.

TextLogicalViewEditor

The editor factory to associate with the text logical view

TypeId

Override the TypeID property in order to let the RegistrationAttribute derived classes to work with System.ComponentModel.TypeDescriptor.GetAttributes(...). An attribute derived from this one will have to override this property only if it needs a better control on the instances that can be applied to a class.

(Inherited from RegistrationAttribute)
XmlChooserPriority

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

Methods

GetPackageRegKeyPath(Guid)

Gets the registry path (relative to the registry root of the application) of the VSPackage.

(Inherited from RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Register a designer as a potential editor for a particular extension

Unregister(RegistrationAttribute+RegistrationContext)

Unregister a designer as a potential editor for a particular extension

Applies to