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);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The Type of value cannot be statically discovered. The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type.")]
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
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The Type of value cannot be statically discovered. The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type.")>]
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

A ITypeDescriptorContext that provides a format context.

value
Object

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

attributes
Attribute[]

Ein Array vom Typ Attribute , das als Filter verwendet wird.

Gibt zurück

Bei erfolgreicher Ausführung sollte der Satz von Eigenschaften, die für den SelectionRange Typ verfügbar gemacht werden sollen, nullandernfalls .

Attribute

Hinweise

Die Standardimplementierung dieser Methode verwendet nicht die context Oder-Parametervalue, sondern bezieht sich einfach auf den Aufruf der TypeDescriptor-Methode.TypeDescriptor.GetProperties(Type, Attribute[])

Gilt für:

Weitere Informationen