PropertyTab.GetProperties Metoda

Definice

Získá vlastnosti zadané součásti.

Přetížení

GetProperties(Object)

Získá vlastnosti zadané součásti.

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)

Získá vlastnosti zadané součásti.

public:
 virtual System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::Object ^ component);
public virtual System.ComponentModel.PropertyDescriptorCollection GetProperties (object component);
public virtual System.ComponentModel.PropertyDescriptorCollection? GetProperties (object component);
abstract member GetProperties : obj -> System.ComponentModel.PropertyDescriptorCollection
override this.GetProperties : obj -> System.ComponentModel.PropertyDescriptorCollection
Public Overridable Function GetProperties (component As Object) As PropertyDescriptorCollection

Parametry

component
Object

Komponenta, která má načíst vlastnosti.

Návraty

A PropertyDescriptorCollection , který obsahuje vlastnosti komponenty.

Platí pro

GetProperties(Object, Attribute[])

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

public:
 abstract System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::Object ^ component, cli::array <Attribute ^> ^ attributes);
public abstract System.ComponentModel.PropertyDescriptorCollection GetProperties (object component, Attribute[] attributes);
public abstract System.ComponentModel.PropertyDescriptorCollection GetProperties (object component, Attribute[]? attributes);
public abstract System.ComponentModel.PropertyDescriptorCollection? GetProperties (object component, Attribute[]? attributes);
abstract member GetProperties : obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public MustOverride Function GetProperties (component As Object, attributes As Attribute()) As PropertyDescriptorCollection

Parametry

component
Object

Komponenta, ze které se mají načíst vlastnosti.

attributes
Attribute[]

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

Návraty

A PropertyDescriptorCollection , který obsahuje vlastnosti.

Platí pro

GetProperties(ITypeDescriptorContext, Object, Attribute[])

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

public:
 virtual System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::ComponentModel::ITypeDescriptorContext ^ context, System::Object ^ component, cli::array <Attribute ^> ^ attributes);
public virtual System.ComponentModel.PropertyDescriptorCollection GetProperties (System.ComponentModel.ITypeDescriptorContext context, object component, Attribute[] attributes);
public virtual System.ComponentModel.PropertyDescriptorCollection GetProperties (System.ComponentModel.ITypeDescriptorContext? context, object component, Attribute[]? attributes);
public virtual System.ComponentModel.PropertyDescriptorCollection? GetProperties (System.ComponentModel.ITypeDescriptorContext? context, object component, Attribute[]? attributes);
abstract member GetProperties : System.ComponentModel.ITypeDescriptorContext * obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
override this.GetProperties : System.ComponentModel.ITypeDescriptorContext * obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Overridable Function GetProperties (context As ITypeDescriptorContext, component As Object, attributes As Attribute()) As PropertyDescriptorCollection

Parametry

context
ITypeDescriptorContext

Označuje ITypeDescriptorContext kontext, ze kterého se mají načíst vlastnosti.

component
Object

Komponenta, ze které se mají načíst vlastnosti.

attributes
Attribute[]

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

Návraty

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

Platí pro