SizeFConverter.GetProperties Método

Definição

Recupera um conjunto de propriedades para o SizeF tipo usando o contexto e os 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

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

value
Object

As Object propriedades para as qual retornar.

attributes
Attribute[]

Uma matriz de Attribute objetos que descrevem as propriedades.

Retornos

Um PropertyDescriptorCollection que contém as propriedades.

Atributos

Comentários

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

Aplica-se a