Udostępnij przez


PointConverter.GetProperties Metoda

Definicja

Pobiera zestaw właściwości tego typu. Domyślnie typ nie zwraca żadnych właściwości.

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

Parametry

context
ITypeDescriptorContext

Deskryptor typu, za pomocą którego można podać dodatkowy kontekst.

value
Object

Wartość obiektu, dla których mają być uzyskiwane właściwości.

attributes
Attribute[]

Tablica Attribute obiektów opisujących właściwości.

Zwraca

Zestaw właściwości uwidocznionych dla tego typu danych. Jeśli nie zostaną ujawnione żadne właściwości, ta metoda może zwrócić wartość null. Domyślna implementacja zawsze zwraca wartość null.

Uwagi

Prosta implementacja tej metody może po prostu wywołać GetProperties prawidłowy typ danych.

Dotyczy