Export (0) Print
Expand All

DataSourceIDConverter Class

Note: This class is new in the .NET Framework version 2.0.

Creates a user-selectable list of data source names.

Namespace: System.Web.UI.Design.WebControls
Assembly: System.Design (in system.design.dll)

public class DataSourceIDConverter : TypeConverter
public class DataSourceIDConverter extends TypeConverter
public class DataSourceIDConverter extends TypeConverter

The DataSourceIDConverter class is a TypeConverter object that is typically referenced by the TypeConverterAttribute attribute.

The data source names that are returned by the GetStandardValues method are of components from the container of the specified context that are valid data sources.

The GetStandardValuesExclusive method gets a value indicating whether the returned data source names are an exclusive list of possible values. The GetStandardValuesSupported method gets a value indicating whether the data source names are a standard set of values that can be picked from a list.

The ConvertFrom method converts the specified object to the native type of the converter. The CanConvertFrom method gets a value indicating whether this DataSourceIDConverter can convert an object in the specified source type to the native type.

The IsValidDataSource method indicates whether the specified component implements the IDataSource interface.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Show:
© 2014 Microsoft