DataFieldConverter.GetStandardValues(ITypeDescriptorContext) Method

Definition

Gets a list of fields in the selected data source if information about them is available, using the provided context. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

C#
public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues(System.ComponentModel.ITypeDescriptorContext context);

Parameters

context
ITypeDescriptorContext

An ITypeDescriptorContext object that represents the data-bound component or the control that the property belongs to.

Returns

A TypeConverter.StandardValuesCollection object containing a list of the names of fields available in the data source.

Remarks

Notiz

You typically do not access a type converter directly. This implementation of TypeConverter is intended for use by a data-bound control at design time, and is instantiated with a TypeConverterAttribute on a property.

Applies to

Produkt Versiounen
.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

See also