ערוך

שתף באמצעות


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.

public:
 override System::ComponentModel::TypeConverter::StandardValuesCollection ^ GetStandardValues(System::ComponentModel::ITypeDescriptorContext ^ context);
public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues (System.ComponentModel.ITypeDescriptorContext context);
override this.GetStandardValues : System.ComponentModel.ITypeDescriptorContext -> System.ComponentModel.TypeConverter.StandardValuesCollection
Public Overrides Function GetStandardValues (context As ITypeDescriptorContext) As TypeConverter.StandardValuesCollection

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

Note

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

See also