Share via


ProvideDesignerOptionsAttribute 類別

定義

將一或多個類別與登錄中的每個設計工具產生關聯。

public ref class ProvideDesignerOptionsAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class ProvideDesignerOptionsAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
public sealed class ProvideDesignerOptionsAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
type ProvideDesignerOptionsAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class ProvideDesignerOptionsAttribute
Inherits RegistrationAttribute
繼承
ProvideDesignerOptionsAttribute
屬性

建構函式

ProvideDesignerOptionsAttribute(String)

使用指定的類別名稱,初始化 的新實例 ProvideDesignerOptionsAttribute

屬性

CategoryName

取得這個類別的程式設計、非本地化名稱。

TypeId

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

(繼承來源 RegistrationAttribute)

方法

GetPackageRegKeyPath(Guid)

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

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

註冊設計工具選項。

Unregister(RegistrationAttribute+RegistrationContext)

使用指定的登錄內容,從登錄中移除此屬性。

適用於