SelectionRangeConverter.GetProperties Metoda

Definicja

Zwraca zestaw filtrowanych właściwości dla SelectionRange typu.

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

Parametry

context
ITypeDescriptorContext

Element ITypeDescriptorContext , który zapewnia kontekst formatu.

value
Object

Element Object określający typ tablicy, dla której mają być uzyskiwane właściwości.

attributes
Attribute[]

Tablica typu Attribute , która jest używana jako filtr.

Zwraca

PropertyDescriptorCollection

W przypadku powodzenia zestaw właściwości, które powinny być uwidocznione dla SelectionRange typu; w przeciwnym razie . null

Uwagi

Domyślna implementacja tej metody nie używa context parametrów lub value , ale po prostu odwołuje się do wywołania klasy TypeDescriptor.TypeDescriptor.GetProperties(Type, Attribute[]) Metoda.

Dotyczy

Zobacz też