LinkArea.LinkAreaConverter.GetProperties Methode

Definitie

Hiermee haalt u de set eigenschappen voor dit type op.

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);
[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);
override this.GetProperties : System.ComponentModel.ITypeDescriptorContext * obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
[<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
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[]

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

Retouren

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

Kenmerken

Opmerkingen

Standaard retourneert een type geen eigenschappen. Een eenvoudige implementatie van deze methode kan gewoon het juiste gegevenstype aanroepen GetProperties .

Van toepassing op