指定した属性に一致するイベント タブのすべてのプロパティを取得します。
Overrides Overloads Public Function GetProperties( _
ByVal component As Object, _ ByVal attributes() As Attribute _) As PropertyDescriptorCollection
[C#]
public override PropertyDescriptorCollection GetProperties(objectcomponent,Attribute[] attributes);
[C++]
public: PropertyDescriptorCollection* GetProperties(Object* component,Attribute* attributes[]);
[JScript]
public override function GetProperties(
component : Object,attributes : Attribute[]) : PropertyDescriptorCollection;
パラメータ
- 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 オーバーロードの一覧