RegisterAsDslToolsEditorAttribute 类

定义

此属性用于标记已使用设计器向导创建的 DSL 工具设计器。 它使设计器向导可以建议不使用其他非 DSLTools 设计器处理的文件扩展名,并使其能够删除旧的 DSL 设计器,而无需删除处理相同文件扩展名的其他包。

public ref class RegisterAsDslToolsEditorAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public sealed class RegisterAsDslToolsEditorAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type RegisterAsDslToolsEditorAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class RegisterAsDslToolsEditorAttribute
Inherits RegistrationAttribute
继承
RegisterAsDslToolsEditorAttribute
属性

构造函数

RegisterAsDslToolsEditorAttribute()

属性

TypeId

获取此属性的当前实例。

(继承自 RegistrationAttribute)

方法

GetPackageRegKeyPath(Guid)

获取与 VSPackage 的应用程序) 的注册表根相关的注册表路径 (。

(继承自 RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

将包注册为 DSL 工具。

Unregister(RegistrationAttribute+RegistrationContext)

删除 DSL 工具注册密钥。

适用于