LinkArea.LinkAreaConverter.GetProperties Método

Definición

Recupera el conjunto de propiedades de este 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

Descriptor de tipo a través del cual se puede proporcionar contexto adicional.

value
Object

Valor del objeto para el que se van a obtener las propiedades.

attributes
Attribute[]

Atributos del objeto para los que se van a obtener las propiedades.

Devoluciones

Conjunto de propiedades que se deben exponer para este tipo de datos. Si no se debe exponer ninguna propiedad, podría devolver null. La implementación predeterminada siempre devuelve null.

Atributos

Comentarios

De forma predeterminada, un tipo no devuelve ninguna propiedad. Una implementación sencilla de este método simplemente puede llamar GetProperties al tipo de datos correcto.

Se aplica a