次の方法で共有


TypeDescriptor.GetProperties メソッド (Type)

指定したコンポーネントの型のプロパティのコレクションを取得します。

Overloads Public Shared Function GetProperties( _
   ByVal componentType As Type _) As PropertyDescriptorCollection
[C#]
public static PropertyDescriptorCollection GetProperties(TypecomponentType);
[C++]
public: static PropertyDescriptorCollection* GetProperties(Type* componentType);
[JScript]
public static function GetProperties(
   componentType : Type) : PropertyDescriptorCollection;

パラメータ

  • componentType
    プロパティを取得する対象のコンポーネントを表す Type

戻り値

指定したコンポーネントの型のプロパティを格納している PropertyDescriptorCollection

解説

このメソッドのこの形式は、オブジェクトのインスタンスがない場合にだけ呼び出します。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET

参照

TypeDescriptor クラス | TypeDescriptor メンバ | System.ComponentModel 名前空間 | TypeDescriptor.GetProperties オーバーロードの一覧 | TypeDescriptor | EventDescriptor | PropertyDescriptor | PropertyDescriptorCollection