Share via


SelectionRangeConverter.GetProperties Método

Definição

Retorna o conjunto de propriedades filtradas para o tipo SelectionRange.

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 que fornece um contexto de formato.

value
Object

Um Object que especifica o tipo de matriz para o qual obter as propriedades.

attributes
Attribute[]

Uma matriz do tipo Attribute que é usada como um filtro.

Retornos

PropertyDescriptorCollection

Se for bem-sucedido, o conjunto de propriedades que devem ser expostas para o tipo SelectionRange; caso contrário, null.

Comentários

A implementação padrão desse método não usa os parâmetros ou value os context parâmetros, mas simplesmente faz referência à chamada ao TypeDescriptor.TypeDescriptor.GetProperties(Type, Attribute[]) método.

Aplica-se a

Confira também