EventsTab.GetProperties 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取事件选项卡的所有属性。
重载
| 名称 | 说明 |
|---|---|
| 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
要检索其属性的组件。
返回
包含属性的 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
要检索其属性的组件。
返回
包含属性的 A PropertyDescriptorCollection 。 如果组件未实现事件服务,则为空 PropertyDescriptorCollection 。