EventsTab.GetProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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
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
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.
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
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.