PointConverter.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);
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 правильный тип данных.

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