指定した MemberDescriptor 内の名前と、MemberDescriptor および Attribute 配列の両方に格納されている属性を使用して、PropertyDescriptor クラスの新しいインスタンスを初期化します。
名前空間: System.ComponentModel
アセンブリ: System (system.dll 内)
構文
'宣言
Protected Sub New ( _
descr As MemberDescriptor, _
attrs As Attribute() _
)
'使用
Dim descr As MemberDescriptor
Dim attrs As Attribute()
Dim instance As New PropertyDescriptor(descr, attrs)
protected PropertyDescriptor (
MemberDescriptor descr,
Attribute[] attrs
)
protected:
PropertyDescriptor (
MemberDescriptor^ descr,
array<Attribute^>^ attrs
)
protected PropertyDescriptor (
MemberDescriptor descr,
Attribute[] attrs
)
protected function PropertyDescriptor (
descr : MemberDescriptor,
attrs : Attribute[]
)
パラメータ
- descr
メンバの名前とその属性を格納している MemberDescriptor。
- attrs
プロパティに関連付ける属性を格納している Attribute 配列。
解説
このコンストラクタは、Attribute 配列内の属性を MemberDescriptor 内の属性の末尾に追加します。
プラットフォーム
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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 2.0、1.1、1.0
.NET Compact Framework
サポート対象 : 2.0、1.0
参照
関連項目
PropertyDescriptor クラス
PropertyDescriptor メンバ
System.ComponentModel 名前空間
MemberDescriptor クラス
Attribute