Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SelectionRangeConverter.GetProperties Method (ITypeDescriptorContext, Object, Attribute[])

 

Returns the set of filtered properties for the SelectionRange type

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public override PropertyDescriptorCollection GetProperties(
	ITypeDescriptorContext context,
	object value,
	Attribute[] attributes
)

Parameters

context
Type: System.ComponentModel.ITypeDescriptorContext

A ITypeDescriptorContext that provides a format context.

value
Type: System.Object

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

attributes
Type: System.Attribute[]

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

Return Value

Type: System.ComponentModel.PropertyDescriptorCollection

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

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.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft