Share via


RegisterAsDslToolsEditorAttribute クラス

定義

この属性は、Designer ウィザードで作成された DSL ツール Designerにタグを付けるために使用されます。 これにより、Designer ウィザードは、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()

この属性は、Designer ウィザードで作成された DSL ツール Designerにタグを付けるために使用されます。 これにより、Designer ウィザードは、DSLTools 以外の他のデザイナーによって処理されるファイル拡張子を再利用することを推奨し、同じファイル拡張子を処理する他のパッケージを削除せずに古い DSL デザイナーを削除できます。

プロパティ

TypeId

RegistrationAttribute 派生クラスが System.ComponentModel.TypeDescriptor.GetAttributes(...) と連携できるように、TypeID プロパティをオーバーライドします。このプロパティから派生した属性は、クラスに適用できるインスタンスをより適切に制御する必要がある場合にのみ、このプロパティをオーバーライドする必要があります。

(継承元 RegistrationAttribute)

メソッド

GetPackageRegKeyPath(Guid)

VSPackage のレジストリ パス (アプリケーションのレジストリ ルートに対する相対パス) を取得します。

(継承元 RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

パッケージを DSL ツールとして登録します。

Unregister(RegistrationAttribute+RegistrationContext)

DSL ツール登録キーを削除します。

適用対象