指定した属性とコンテキストに一致する指定したコンポーネントのプロパティを取得します。
Overloads Public Overridable Function GetProperties( _
ByVal context As ITypeDescriptorContext, _ ByVal component As Object, _ ByVal attributes() As Attribute _) As PropertyDescriptorCollection
[C#]
public virtual PropertyDescriptorCollection GetProperties(ITypeDescriptorContextcontext,objectcomponent,Attribute[] attributes);
[C++]
public: virtual PropertyDescriptorCollection* GetProperties(ITypeDescriptorContext* context,Object* component,Attribute* attributes[]);
[JScript]
public function GetProperties(
context : ITypeDescriptorContext,component : Object,attributes : Attribute[]) : PropertyDescriptorCollection;
パラメータ
- context
プロパティの取得元のコンテキストを示す ITypeDescriptorContext 。 - component
プロパティの取得元のコンポーネント。 - attributes
取得するプロパティの属性を示す Attribute 型の配列。
戻り値
指定したコンテキストと属性に一致するプロパティを格納している PropertyDescriptorCollection 。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
PropertyTab クラス | PropertyTab メンバ | System.Windows.Forms.Design 名前空間 | PropertyTab.GetProperties オーバーロードの一覧