RegisterAsDslToolsEditorAttribute Class

Definition

This attribute is used to tag a DSL Tools Designer that has been created with the Designer Wizard. It enables the Designer Wizard to advise against re-using file extensions handled by other non-DSLTools designers, and enables it to remove old DSL designers without removing other packages that handle the same file extension.

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

Constructors

RegisterAsDslToolsEditorAttribute()

Properties

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)

Methods

GetPackageRegKeyPath(Guid)

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

(Inherited from RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Registers the package as a DSL tool.

Unregister(RegistrationAttribute+RegistrationContext)

Removes the DSL tool registration key.

Applies to