SelectionRangeConverter.GetProperties Méthode

Définition

Retourne l’ensemble de propriétés filtrées pour le SelectionRange type.

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

Paramètres

context
ITypeDescriptorContext

Qui ITypeDescriptorContext fournit un contexte de format.

value
Object

Qui Object spécifie le type de tableau pour lequel obtenir les propriétés.

attributes
Attribute[]

Tableau de type Attribute utilisé comme filtre.

Retours

Si elle réussit, l’ensemble de propriétés qui doivent être exposées pour le SelectionRange type ; sinon, null.

Attributs

Remarques

L’implémentation par défaut de cette méthode n’utilise pas les context paramètres, value mais fait simplement référence à l’appel à la méthode TypeDescriptor.TypeDescriptor.GetProperties(Type, Attribute[])

S’applique à

Voir aussi