ProvideDesignerMetadataAttribute クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
型またはオブジェクトの追加のメタデータを宣言し、サード パーティがクラスで使用できるメタデータのセットを変更できるようにします。
public ref class ProvideDesignerMetadataAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class ProvideDesignerMetadataAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class ProvideDesignerMetadataAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
type ProvideDesignerMetadataAttribute = class
inherit RegistrationAttribute
Public NotInheritable Class ProvideDesignerMetadataAttribute
Inherits RegistrationAttribute
- 継承
- 属性
コンストラクター
| ProvideDesignerMetadataAttribute(Type, Type) |
の新しいインスタンス ProvideDesignerMetadataAttributeを初期化し、新しいメタデータ Type を現在 Typeの に関連付けています。 |
プロパティ
| IsGlobal |
インスタンスによって提供されるメタデータ変更のスコープを取得または設定します。 ProvideDesignerMetadataAttribute |
| MetadataType |
メタデータの型を取得します。 |
| RuntimeType |
ランタイムの種類を取得します。 |
| TypeId |
RegistrationAttribute 派生クラスが System.ComponentModel.TypeDescriptor.GetAttributes(...) と連携できるように、TypeID プロパティをオーバーライドします。このプロパティから派生した属性は、クラスに適用できるインスタンスをより適切に制御する必要がある場合にのみ、このプロパティをオーバーライドする必要があります。 (継承元 RegistrationAttribute) |
メソッド
| GetPackageRegKeyPath(Guid) |
VSPackage のレジストリ パス (アプリケーションのレジストリ ルートに対する相対パス) を取得します。 (継承元 RegistrationAttribute) |
| Register(RegistrationAttribute+RegistrationContext) |
デザイナーメタデータを登録します。 |
| Unregister(RegistrationAttribute+RegistrationContext) |
デザイナー メタデータ レジストリ キーを削除します。 |