RectangleConverter.GetProperties Methode

Definitie

Hiermee haalt u de set eigenschappen voor dit type op. Standaard retourneert een type geen eigenschappen.

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

Parameters

context
ITypeDescriptorContext

Een ITypeDescriptorContext context waarmee u aanvullende context kunt opgegeven.

value
Object

De waarde van het object waarvoor de eigenschappen moeten worden opgehaald.

attributes
Attribute[]

Een matrix met Attribute objecten die de eigenschappen beschrijven.

Retouren

De set eigenschappen die voor dit gegevenstype moeten worden weergegeven. Als er geen eigenschappen moeten worden weergegeven, kan dit worden geretourneerd null. De standaard implementatie retourneert altijd null.

Kenmerken

Opmerkingen

Een eenvoudige implementatie van deze methode kan gewoon de GetProperties methode aanroepen voor het juiste gegevenstype.

Van toepassing op