SelectionRangeConverter.GetProperties Methode

Definition

Gibt den Satz gefilterter Eigenschaften für den SelectionRange-Typ zurück.

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

Parameter

context
ITypeDescriptorContext

Ein ITypeDescriptorContext, der einen Formatierungskontext bereitstellt.

value
Object

Ein Object, die den Typ des Arrays angibt, für den Eigenschaften abgerufen werden sollen.

attributes
Attribute[]

Ein Array des Typs Attribute, das als Filter verwendet wird.

Gibt zurück

PropertyDescriptorCollection

Wenn der Vorgang erfolgreich war, die Gruppe von Eigenschaften, die für den SelectionRange-Typ verfügbar gemacht werden sollen; andernfalls null.

Hinweise

Die Standardimplementierung dieser Methode verwendet nicht die context parameter, value sondern bezieht sich einfach auf den Aufruf des TypeDescriptors.TypeDescriptor.GetProperties(Type, Attribute[]) -Methode.

Gilt für

Siehe auch