Share via


SelectionRangeConverter.GetProperties Metoda

Definice

Vrátí sadu filtrovaných vlastností pro typ 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

Parametry

context
ITypeDescriptorContext

A ITypeDescriptorContext , který poskytuje kontext formátu.

value
Object

Určuje Object typ pole, pro které chcete získat vlastnosti.

attributes
Attribute[]

Pole typu Attribute , které se používá jako filtr.

Návraty

V případě úspěchu se zobrazí sada vlastností, které by měly být pro daný SelectionRange typ zpřístupněny; nullv opačném případě .

Poznámky

Výchozí implementace této metody nepoužívá context parametry nebo value , ale jednoduše odkazuje na volání TypeDescriptor.TypeDescriptor.GetProperties(Type, Attribute[]) Metoda.

Platí pro

Viz také