SelectionRangeConverter.GetProperties Método

Definición

Devuelve el conjunto de propiedades filtradas del 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

Interfaz ITypeDescriptorContext que proporciona un contexto de formato.

value
Object

Object que especifica el tipo de matriz para el que se van a obtener propiedades.

attributes
Attribute[]

Matriz de tipo Attribute que se usa como filtro.

Devoluciones

Si es correcto, devuelve el conjunto de propiedades que deberían exponerse para el tipo SelectionRange; de lo contrario, null.

Comentarios

La implementación predeterminada de este método no usa los context parámetros o value , sino que simplemente hace referencia a la llamada al método TypeDescriptor.TypeDescriptor.GetProperties(Type, Attribute[])

Se aplica a

Consulte también