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

覆寫 TypeID 屬性,讓 RegistrationAttribute 衍生類別使用 System.ComponentModel.TypeDescriptor.GetAttributes (...) 。衍生自這個屬性的屬性必須覆寫此屬性,只有在實例上需要更好的控件,才能套用至類別。

(繼承來源 RegistrationAttribute)

方法

GetPackageRegKeyPath(Guid)

取得相對於 VSPackage 應用程式) 之登錄根目錄的登錄路徑 (。

(繼承來源 RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

將套件註冊為 DSL 工具。

Unregister(RegistrationAttribute+RegistrationContext)

拿掉 DSL 工具註冊金鑰。

適用於