Share via


SizeFConverter.GetProperties Metodo

Definizione

Recupera un set di proprietà per il tipo SizeF utilizzando il contesto e gli attributi specificati.

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

Parametri

context
ITypeDescriptorContext

Oggetto ITypeDescriptorContext mediante il quale è possibile fornire un contesto aggiuntivo.

value
Object

Classe Object per la quale restituire le proprietà.

attributes
Attribute[]

Matrice di oggetti Attribute che descrivono le proprietà.

Restituisce

Oggetto PropertyDescriptorCollection che contiene le proprietà.

Commenti

Questo metodo restituisce sempre le proprietà di un SizeF tipo indipendentemente dal value parametro .

Si applica a