MemberDescriptor クラス
アセンブリ: System (system.dll 内)


MemberDescriptor は、EventDescriptor クラスおよび PropertyDescriptor クラスの基本クラスです。EventDescriptor クラスはイベントの説明を提供し、PropertyDescriptor クラスはプロパティの説明を提供します。
このクラスでは、保存された属性にアクセスするためのプロパティとメソッドを定義します。Attributes プロパティは、属性のコレクションを取得します。Category、IsBrowsable、Description、および DesignTimeOnly の各プロパティは、これらの特定の属性の値を取得します。Name プロパティおよび DisplayName プロパティは、メンバの名前を提供します。
また、MemberDescriptor は、MemberDescriptor を別のメンバ記述子と比較するための Equals メソッドも定義します。
![]() |
---|
通常は、EventDescriptor クラスおよび PropertyDescriptor クラスから継承し、このクラスからは継承しません。 このクラスに適用される HostProtectionAttribute 属性の Resources プロパティの値は、SharedState です。HostProtectionAttribute は、デスクトップ アプリケーション (一般的には、アイコンをダブルクリック、コマンドを入力、またはブラウザに URL を入力して起動するアプリケーション) には影響しません。詳細については、HostProtectionAttribute クラスのトピックまたは「SQL Server プログラミングとホスト保護属性」を参照してください。 |


System.ComponentModel.MemberDescriptor
System.ComponentModel.EventDescriptor
System.ComponentModel.PropertyDescriptor


Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- MemberDescriptor クラスのページへのリンク