Idioma

LinkArea.LinkAreaConverter.GetProperties Método

Definição

Recupera o conjunto de propriedades deste 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);
[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

Parâmetros

context
ITypeDescriptorContext

Um descritor de tipo através do qual pode ser fornecido contexto adicional.

value
Object

O valor do objeto para obter as propriedades de.

attributes
Attribute[]

Os atributos do objeto para obter as propriedades para.

Devoluções

O conjunto de propriedades que deve ser exposto para este tipo de dado. Se nenhuma propriedade for exposta, isto pode devolver null. A implementação padrão sempre retorna null.

Atributos

Observações

Por defeito, um tipo não devolve quaisquer propriedades. Uma implementação simples deste método pode simplesmente pedir GetProperties o tipo de dado correto.

Aplica-se a