SizeFConverter.GetProperties Methode

Definition

Ruft einen Satz von Eigenschaften für den SizeF Typ mithilfe des angegebenen Kontexts und der angegebenen Attribute ab.

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

Parameter

context
ITypeDescriptorContext

Ein ITypeDescriptorContext zusätzlicher Kontext, über den zusätzliche Kontext bereitgestellt werden kann.

value
Object

Die Object zurückzugebenden Eigenschaften.

attributes
Attribute[]

Ein Array von Attribute Objekten, die die Eigenschaften beschreiben.

Gibt zurück

A PropertyDescriptorCollection mit den Eigenschaften.

Attribute

Hinweise

Diese Methode gibt unabhängig vom SizeF Parameter immer die Eigenschaften eines value Typs zurück.

Gilt für: