RectangleConverter.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

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

value
Object

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

attributes
Attribute[]

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

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

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

Комментарии

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

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