SizeFConverter.GetProperties Metodo

Definizione

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

public:
 override System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::ComponentModel::ITypeDescriptorContext ^ context, System::Object ^ value, cli::array <Attribute ^> ^ attributes);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The Type of value cannot be statically discovered. The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type.")]
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);
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The Type of value cannot be statically discovered. The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type.")>]
override this.GetProperties : System.ComponentModel.ITypeDescriptorContext * obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
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 tramite il quale è possibile specificare un contesto aggiuntivo.

value
Object

Oggetto Object per cui restituire le proprietà.

attributes
Attribute[]

Matrice di Attribute oggetti che descrivono le proprietà.

Valori restituiti

Oggetto PropertyDescriptorCollection contenente le proprietà.

Attributi

Commenti

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

Si applica a