PropertiesTab.GetProperties Metoda

Definice

Získá vlastnosti zadané komponenty.

Přetížení

GetProperties(Object, Attribute[])

Získá vlastnosti zadané komponenty, které odpovídají zadaným atributům.

GetProperties(ITypeDescriptorContext, Object, Attribute[])

Získá vlastnosti zadané komponenty, které odpovídají zadaným atributům a kontextu.

GetProperties(Object, Attribute[])

Získá vlastnosti zadané komponenty, které odpovídají zadaným atributům.

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

Parametry

component
Object

Komponenta pro načtení vlastností z.

attributes
Attribute[]

Pole typu Attribute , které označuje atributy vlastností, které se mají načíst.

Návraty

PropertyDescriptorCollection

A PropertyDescriptorCollection obsahující vlastnosti.

Viz také

Platí pro

GetProperties(ITypeDescriptorContext, Object, Attribute[])

Získá vlastnosti zadané komponenty, které odpovídají zadaným atributům a kontextu.

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

Parametry

context
ITypeDescriptorContext

Označuje ITypeDescriptorContext kontext pro načtení vlastností.

component
Object

Komponenta pro načtení vlastností z.

attributes
Attribute[]

Pole typu Attribute , které označuje atributy vlastností, které se mají načíst.

Návraty

PropertyDescriptorCollection

A PropertyDescriptorCollection , který obsahuje vlastnosti odpovídající zadanému kontextu a atributům.

Viz také

Platí pro