EventsTab.GetProperties 方法

定义

获取事件选项卡的所有属性。

重载

名称 说明
GetProperties(Object, Attribute[])

获取与指定属性匹配的事件选项卡的所有属性。

GetProperties(ITypeDescriptorContext, Object, Attribute[])

获取与指定属性和上下文匹配的事件选项卡的所有属性。

GetProperties(Object, Attribute[])

Source:
EventsTab.cs
Source:
EventsTab.cs
Source:
EventsTab.cs
Source:
EventsTab.cs
Source:
EventsTab.cs

获取与指定属性匹配的事件选项卡的所有属性。

public:
 override System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::Object ^ component, cli::array <Attribute ^> ^ attributes);
public override System.ComponentModel.PropertyDescriptorCollection GetProperties(object component, Attribute[] attributes);
public override System.ComponentModel.PropertyDescriptorCollection GetProperties(object component, Attribute[]? attributes);
override this.GetProperties : obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Overrides Function GetProperties (component As Object, attributes As Attribute()) As PropertyDescriptorCollection

参数

component
Object

要检索其属性的组件。

attributes
Attribute[]

一个数组 Attribute ,指示要检索的事件属性的属性。

返回

包含属性的 A PropertyDescriptorCollection 。 如果组件未实现事件服务,则为空 PropertyDescriptorCollection

注解

事件选项卡属性取决于从组件的事件服务返回的事件属性。

适用于

GetProperties(ITypeDescriptorContext, Object, Attribute[])

Source:
EventsTab.cs
Source:
EventsTab.cs
Source:
EventsTab.cs
Source:
EventsTab.cs
Source:
EventsTab.cs

获取与指定属性和上下文匹配的事件选项卡的所有属性。

public:
 override System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::ComponentModel::ITypeDescriptorContext ^ context, System::Object ^ component, cli::array <Attribute ^> ^ attributes);
public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext context, object component, Attribute[] attributes);
public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext? context, object component, Attribute[]? attributes);
override this.GetProperties : System.ComponentModel.ITypeDescriptorContext * obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Overrides Function GetProperties (context As ITypeDescriptorContext, component As Object, attributes As Attribute()) As PropertyDescriptorCollection

参数

context
ITypeDescriptorContext

ITypeDescriptorContext可用于获取上下文信息。

component
Object

要检索其属性的组件。

attributes
Attribute[]

一个类型 Attribute 数组,指示要检索的事件属性的属性。

返回

包含属性的 A PropertyDescriptorCollection 。 如果组件未实现事件服务,则为空 PropertyDescriptorCollection

适用于