FontConverter.GetProperties Metoda

Definicja

Pobiera zestaw właściwości tego typu. Domyślnie typ nie ma żadnych właściwości do zwrócenia.

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);
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, które powinny być uwidocznione dla tego typu danych. Jeśli nie powinny być uwidocznione żadne właściwości, może to zwrócić wartość null. Domyślna implementacja zawsze zwraca wartość null.

Łatwa implementacja tej metody może wywołać metodę GetProperties poprawnego typu danych.

Dotyczy