SelectionRangeConverter.GetProperties Method

Definition

Returns the set of filtered properties for the SelectionRange type.

C#
public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext context, object value, Attribute[] attributes);
C#
public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext? context, object value, Attribute[]? attributes);

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

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also