PropertiesTab.GetProperties Metod

Definition

Hämtar egenskaperna för den angivna komponenten.

Överlagringar

Name Description
GetProperties(Object, Attribute[])

Hämtar egenskaperna för den angivna komponenten som matchar de angivna attributen.

GetProperties(ITypeDescriptorContext, Object, Attribute[])

Hämtar egenskaperna för den angivna komponenten som matchar de angivna attributen och kontexten.

GetProperties(Object, Attribute[])

Källa:
PropertiesTab.cs
Källa:
PropertiesTab.cs
Källa:
PropertiesTab.cs
Källa:
PropertiesTab.cs
Källa:
PropertiesTab.cs

Hämtar egenskaperna för den angivna komponenten 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 du vill hämta egenskaper från.

attributes
Attribute[]

En matris av typen Attribute som anger attributen för de egenskaper som ska hämtas.

Returer

En PropertyDescriptorCollection som innehåller egenskaperna.

Se även

Gäller för

GetProperties(ITypeDescriptorContext, Object, Attribute[])

Källa:
PropertiesTab.cs
Källa:
PropertiesTab.cs
Källa:
PropertiesTab.cs
Källa:
PropertiesTab.cs
Källa:
PropertiesTab.cs

Hämtar egenskaperna för den angivna komponenten 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

Ett ITypeDescriptorContext som anger kontexten som du vill hämta egenskaper från.

component
Object

Komponenten som du vill hämta egenskaper från.

attributes
Attribute[]

En matris av typen Attribute som anger attributen för de egenskaper som ska hämtas.

Returer

En PropertyDescriptorCollection som innehåller de egenskaper som matchar den angivna kontexten och attributen.

Se även

Gäller för