Share via


ProvideDesignerOptionsAttribute クラス

定義

レジストリ内の各デザイナーに 1 つ以上のカテゴリを関連付けます。

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

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

(継承元 RegistrationAttribute)

メソッド

GetPackageRegKeyPath(Guid)

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

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

デザイナー オプションを登録します。

Unregister(RegistrationAttribute+RegistrationContext)

指定したレジストリ コンテキストを使用して、レジストリからこの属性を削除します。

適用対象