LinkArea.LinkAreaConverter.GetProperties Metodo

Definizione

Recupera il gruppo di proprietà per questo tipo.

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);
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
Public Overrides Function GetProperties (context As ITypeDescriptorContext, value As Object, attributes As Attribute()) As PropertyDescriptorCollection

Parametri

context
ITypeDescriptorContext

Descrittore del tipo tramite il quale è possibile fornire un contesto aggiuntivo.

value
Object

Valore dell'oggetto per il quale ottenere le proprietà.

attributes
Attribute[]

Attributi dell'oggetto per il quale ottenere le proprietà.

Restituisce

PropertyDescriptorCollection

Insieme di proprietà che deve essere esposto per questo tipo di dati. Se non è necessario esporre alcuna proprietà, è possibile che venga restituito il valore null. L'implementazione predefinita restituisce sempre null.

Commenti

Per impostazione predefinita, un tipo non restituisce alcuna proprietà. Un'implementazione semplice di questo metodo può semplicemente chiamare GetProperties per il tipo di dati corretto.

Si applica a