Lenguaje

SizeFConverter.GetProperties Método

Definición

Recupera un conjunto de propiedades para el SizeF tipo mediante el contexto y los atributos especificados.

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

Parámetros

context
ITypeDescriptorContext

objeto ITypeDescriptorContext a través del cual se puede proporcionar un contexto adicional.

value
Object

para Object el que se van a devolver las propiedades.

attributes
Attribute[]

Matriz de Attribute objetos que describen las propiedades.

Devoluciones

que PropertyDescriptorCollection contiene las propiedades .

Atributos

Comentarios

Este método siempre devuelve las propiedades de un SizeF tipo independientemente del value parámetro .

Se aplica a