指定した属性とコンテキストに一致するイベント タブのすべてのプロパティを取得します。
Overrides Overloads Public Function GetProperties( _
ByVal context As ITypeDescriptorContext, _ ByVal component As Object, _ ByVal attributes() As Attribute _) As PropertyDescriptorCollection
[C#]
public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContextcontext,objectcomponent,Attribute[] attributes);
[C++]
public: PropertyDescriptorCollection* GetProperties(ITypeDescriptorContext* context,Object* component,Attribute* attributes[]);
[JScript]
public override function GetProperties(
context : ITypeDescriptorContext,component : Object,attributes : Attribute[]) : PropertyDescriptorCollection;
パラメータ
- context
コンテキスト情報を取得するために使用できる ITypeDescriptorContext 。 - component
プロパティを取得する対象のコンポーネント。 - attributes
取得するイベント プロパティの属性を示す Attribute 型の配列。
戻り値
プロパティを格納している PropertyDescriptorCollection 。コンポーネントがイベント サービスを実装していない場合、これは空の PropertyDescriptorCollection になります。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
EventsTab クラス | EventsTab メンバ | System.Windows.Forms.Design 名前空間 | EventsTab.GetProperties オーバーロードの一覧