Uredi

Deli z drugimi prek


SizeFConverter.GetProperties Method

Definition

Retrieves a set of properties for the SizeF type using the specified context and attributes.

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

Parameters

context
ITypeDescriptorContext

An ITypeDescriptorContext through which additional context can be supplied.

value
Object

The Object to return properties for.

attributes
Attribute[]

An array of Attribute objects that describe the properties.

Returns

A PropertyDescriptorCollection containing the properties.

Remarks

This method always returns the properties of a SizeF type regardless of the value parameter.

Applies to