This documentation is archived and is not being maintained.

DataSourceIDConverter Class

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

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 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

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

.NET Framework

Supported in: 3.5, 3.0, 2.0