EventsTab.GetProperties Method

Definition

Gets all the properties of the event tab.

Overloads

GetProperties(Object, Attribute[])

Gets all the properties of the event tab that match the specified attributes.

GetProperties(ITypeDescriptorContext, Object, Attribute[])

Gets all the properties of the event tab that match the specified attributes and context.

GetProperties(Object, Attribute[])

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

Gets all the properties of the event tab that match the specified attributes.

C#
public override System.ComponentModel.PropertyDescriptorCollection GetProperties(object component, Attribute[] attributes);
C#
public override System.ComponentModel.PropertyDescriptorCollection GetProperties(object component, Attribute[]? attributes);

Parameters

component
Object

The component to retrieve the properties of.

attributes
Attribute[]

An array of Attribute that indicates the attributes of the event properties to retrieve.

Returns

A PropertyDescriptorCollection that contains the properties. This will be an empty PropertyDescriptorCollection if the component does not implement an event service.

Remarks

The event tab properties are determined from the event properties returned from a component's event service.

Applies to

.NET Framework 4.8.1 a ďalšie verzie
Produkt Verzie
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

GetProperties(ITypeDescriptorContext, Object, Attribute[])

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

Gets all the properties of the event tab that match the specified attributes and context.

C#
public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext context, object component, Attribute[] attributes);
C#
public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext? context, object component, Attribute[]? attributes);

Parameters

context
ITypeDescriptorContext

An ITypeDescriptorContext that can be used to gain context information.

component
Object

The component to retrieve the properties of.

attributes
Attribute[]

An array of type Attribute that indicates the attributes of the event properties to retrieve.

Returns

A PropertyDescriptorCollection that contains the properties. This will be an empty PropertyDescriptorCollection if the component does not implement an event service.

Applies to

.NET Framework 4.8.1 a ďalšie verzie
Produkt Verzie
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10