TypeDescriptionProviderAttribute クラスとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > TypeDescriptionProviderAttribute クラスの意味・解説 

TypeDescriptionProviderAttribute クラス

メモ : このクラスは、.NET Framework version 2.0新しく追加されたものです。

クラスカスタムの型説明プロバイダ指定します。このクラス継承できません。

名前空間: System.ComponentModel
アセンブリ: System (system.dll 内)
構文構文

<AttributeUsageAttribute(AttributeTargets.Class, Inherited:=True)> _
Public NotInheritable Class
 TypeDescriptionProviderAttribute
    Inherits Attribute
Dim instance As TypeDescriptionProviderAttribute
[AttributeUsageAttribute(AttributeTargets.Class, Inherited=true)]
 
public sealed class TypeDescriptionProviderAttribute
 : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, Inherited=true)]
 
public ref class TypeDescriptionProviderAttribute
 sealed : public Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Class, Inherited=true)
 */ 
public final class TypeDescriptionProviderAttribute
 extends Attribute
AttributeUsageAttribute(AttributeTargets.Class, Inherited=true)
 
public final class TypeDescriptionProviderAttribute
 extends Attribute
解説解説

この属性は、開発者作成したクラスカスタム メタデータ提供する方法提供します。この機能は、既定ではコンパイルしたクラスメタデータから型情報のみを直接取得する TypeDescriptor クラス静的型情報機能拡張します。

メモメモ

作成したクラスカスタム メタデータをさらに動的に提供する方法については、AddProvider メソッドトピック参照してください

TypeDescriptionProviderAttribute使用してクラスタグ付けると、TypeDescriptionProvider がそのクラス関連付けられます。TypeDescriptionProvider は、タグ付きクラスに関する補足メタデータ情報提供します。たとえば、GetTypeDescriptor メソッドは、属性イベントプロパティなどの追加型情報定義する ICustomTypeDescriptor を返します以後タグ付きクラス調査TypeDescriptionProvider メンバ使用されると、既定型情報カスタム型情報両方探索されます。

この属性は、クラスのみに適用でき、派生クラスによって継承されます。

この属性は、他のクラスから派生させることはできません。

属性使用方法については、「属性使用したメタデータ拡張」を参照してください

継承階層継承階層
System.Object
   System.Attribute
    System.ComponentModel.TypeDescriptionProviderAttribute
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
TypeDescriptionProviderAttribute メンバ
System.ComponentModel 名前空間
TypeDescriptionProvider クラス
AddProvider
ICustomTypeDescriptor インターフェイス



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「TypeDescriptionProviderAttribute クラス」の関連用語

TypeDescriptionProviderAttribute クラスのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



TypeDescriptionProviderAttribute クラスのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS