PropertyTab.GetProperties Metoda

Definice

Získá vlastnosti zadané komponenty.

Přetížení

Name Description
GetProperties(Object)

Získá vlastnosti zadané komponenty.

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)

Zdroj:
PropertyTab.cs
Zdroj:
PropertyTab.cs
Zdroj:
PropertyTab.cs
Zdroj:
PropertyTab.cs
Zdroj:
PropertyTab.cs

Získá vlastnosti zadané komponenty.

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 pro načtení vlastností.

Návraty

A PropertyDescriptorCollection , který obsahuje vlastnosti komponenty.

Platí pro

GetProperties(Object, Attribute[])

Zdroj:
PropertyTab.cs
Zdroj:
PropertyTab.cs
Zdroj:
PropertyTab.cs
Zdroj:
PropertyTab.cs
Zdroj:
PropertyTab.cs

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[])

Zdroj:
PropertyTab.cs
Zdroj:
PropertyTab.cs
Zdroj:
PropertyTab.cs
Zdroj:
PropertyTab.cs
Zdroj:
PropertyTab.cs

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 pro načtení vlastností z.

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