FontConverter.GetProperties Метод

Определение

Извлекает набор свойств для данного типа. По умолчанию тип не обладает свойствами, которые необходимо возвращать.

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

Параметры

context
ITypeDescriptorContext

Дескриптор типа, с помощью которого может быть предоставлен дополнительный контекст.

value
Object

Значение объекта, для которого извлекаются свойства.

attributes
Attribute[]

Массив объектов Attribute, описывающих свойства.

Возвращаемое значение

Набор свойств, который должен быть представлен для этого типа данных. Если представление свойств не требуется, может возвращаться значение null. Реализация по умолчанию всегда возвращает значение null.

Простая реализация данного метода может вызывать метод GetProperties для правильного типа данных.

Применяется к