PointConverter.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 typedescriptor waarmee aanvullende context kan worden 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 beschikbaar zijn voor dit gegevenstype. Als er geen eigenschappen worden weergegeven, kan deze methode worden geretourneerd null. De standaard implementatie retourneert altijd null.

Kenmerken

Opmerkingen

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

Van toepassing op