EventsTab.GetProperties Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Hämtar alla egenskaper för händelsefliken.
Överlagringar
| Name | Description |
|---|---|
| GetProperties(Object, Attribute[]) |
Hämtar alla egenskaper för händelsefliken som matchar de angivna attributen. |
| GetProperties(ITypeDescriptorContext, Object, Attribute[]) |
Hämtar alla egenskaper för händelsefliken som matchar de angivna attributen och kontexten. |
GetProperties(Object, Attribute[])
- Källa:
- EventsTab.cs
- Källa:
- EventsTab.cs
- Källa:
- EventsTab.cs
- Källa:
- EventsTab.cs
- Källa:
- EventsTab.cs
Hämtar alla egenskaper för händelsefliken som matchar de angivna attributen.
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
Parametrar
- component
- Object
Komponenten som ska hämta egenskaperna för.
- attributes
- Attribute[]
En matris med Attribute som anger attributen för de händelseegenskaper som ska hämtas.
Returer
En PropertyDescriptorCollection som innehåller egenskaperna. Detta är tomt PropertyDescriptorCollection om komponenten inte implementerar en händelsetjänst.
Kommentarer
Egenskaperna för händelsefliken bestäms utifrån de händelseegenskaper som returneras från en komponents händelsetjänst.
Gäller för
GetProperties(ITypeDescriptorContext, Object, Attribute[])
- Källa:
- EventsTab.cs
- Källa:
- EventsTab.cs
- Källa:
- EventsTab.cs
- Källa:
- EventsTab.cs
- Källa:
- EventsTab.cs
Hämtar alla egenskaper för händelsefliken som matchar de angivna attributen och kontexten.
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
Parametrar
- context
- ITypeDescriptorContext
En ITypeDescriptorContext som kan användas för att få kontextinformation.
- component
- Object
Komponenten som ska hämta egenskaperna för.
- attributes
- Attribute[]
En matris av typen Attribute som anger attributen för de händelseegenskaper som ska hämtas.
Returer
En PropertyDescriptorCollection som innehåller egenskaperna. Detta är tomt PropertyDescriptorCollection om komponenten inte implementerar en händelsetjänst.