Επεξεργασία

Κοινή χρήση μέσω


SelectionRangeConverter.GetProperties Method

Definition

Returns the set of filtered properties for the 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);
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

Parameters

context
ITypeDescriptorContext

A ITypeDescriptorContext that provides a format context.

value
Object

An Object that specifies the type of array for which to get properties.

attributes
Attribute[]

An array of type Attribute that is used as a filter.

Returns

If successful, the set of properties that should be exposed for the SelectionRange type; otherwise, null.

Remarks

The default implementation of this method does not use the context or value parameters, but simply refers the call to the TypeDescriptor.TypeDescriptor.GetProperties(Type, Attribute[]) method.

Applies to

See also