Share via


SizeFConverter.GetProperties Método

Definição

Recupera um conjunto de propriedades para o tipo SizeF usando o contexto especificado e os atributos.

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

Parâmetros

context
ITypeDescriptorContext

Um ITypeDescriptorContext por meio do qual o contexto adicional pode ser fornecidos.

value
Object

O Object ao qual as propriedades serão retornadas.

attributes
Attribute[]

Uma matriz de objetos Attribute que descrevem as propriedades.

Retornos

Um PropertyDescriptorCollection que contém as propriedades.

Comentários

Esse método sempre retorna as propriedades de um SizeF tipo, independentemente do value parâmetro .

Aplica-se a