Table of Contents

Method GetProperties

Namespace
Bonsai
Assembly
Bonsai.Core.dll

GetProperties(ITypeDescriptorContext, object, Attribute[])

Returns a collection of properties for the type of numeric record specified by the value parameter, using the specified context and attributes.

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

Parameters

context ITypeDescriptorContext

An ITypeDescriptorContext that provides a format context.

value object

An object that specifies the type of numeric record for which to get properties.

attributes Attribute[]

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

Returns

PropertyDescriptorCollection

A PropertyDescriptorCollection with the properties that are exposed for this data type, or null if there are no properties.