SizeFConverter.GetProperties Метод

Определение

Получает набор свойств для типа SizeF, используя заданный контекст и атрибуты.

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

Объект Object, свойства которого возвращаются.

attributes
Attribute[]

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

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

Коллекция PropertyDescriptorCollection, которая содержит свойства.

Комментарии

Этот метод всегда возвращает свойства SizeF типа независимо от value параметра .

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