SizeFConverter.GetProperties Metod

Definition

Hämtar en uppsättning egenskaper för SizeF typen med hjälp av den angivna kontexten och attributen.

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);
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

Parametrar

context
ITypeDescriptorContext

En ITypeDescriptorContext genom vilken ytterligare kontext kan anges.

value
Object

Att Object returnera egenskaper för.

attributes
Attribute[]

En matris med Attribute objekt som beskriver egenskaperna.

Returer

En PropertyDescriptorCollection som innehåller egenskaperna.

Kommentarer

Den här metoden returnerar alltid egenskaperna för en SizeF typ oavsett value parameter.

Gäller för