Udostępnij za pośrednictwem


PropertiesTab.GetProperties Metoda

Definicja

Pobiera właściwości określonego składnika.

Przeciążenia

GetProperties(Object, Attribute[])

Pobiera właściwości określonego składnika, który jest zgodny z określonymi atrybutami.

GetProperties(ITypeDescriptorContext, Object, Attribute[])

Pobiera właściwości określonego składnika, który jest zgodny z określonymi atrybutami i kontekstem.

GetProperties(Object, Attribute[])

Pobiera właściwości określonego składnika, który jest zgodny z określonymi atrybutami.

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

Składnik do pobierania właściwości z.

attributes
Attribute[]

Tablica typu Attribute wskazująca atrybuty właściwości do pobrania.

Zwraca

PropertyDescriptorCollection

Obiekt PropertyDescriptorCollection zawierający właściwości .

Zobacz też

Dotyczy

GetProperties(ITypeDescriptorContext, Object, Attribute[])

Pobiera właściwości określonego składnika, który jest zgodny z określonymi atrybutami i kontekstem.

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

Element ITypeDescriptorContext wskazujący kontekst, z którego mają być pobierane właściwości.

component
Object

Składnik do pobierania właściwości z.

attributes
Attribute[]

Tablica typu Attribute wskazująca atrybuty właściwości do pobrania.

Zwraca

PropertyDescriptorCollection

Obiekt PropertyDescriptorCollection zawierający właściwości pasujące do określonego kontekstu i atrybutów.

Zobacz też

Dotyczy