DataSourceConverter Class
.NET Framework 3.0
Provides a type converter that can retrieve a list of data sources accessible to the current component.
Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)
Assembly: System.Design (in system.design.dll)
DataSourceConverter provides methods that can be used to retrieve a list of data sources accessible to the current design-time component.
This type converter is used by Visual Studio 2005 to provide the values that appear in the list of data sources in the Properties window.
Caution: |
|---|
| You should never access a type converter directly. Instead, call the appropriate converter by using TypeDescriptor. For more information, see the examples in the TypeConverter base class. |
For more information about type converters, see the TypeConverter base class and How to: Implement a Type Converter.
' Associates the DataSourceConverter with an object property. <TypeConverterAttribute(GetType(DataSourceConverter))> _ Public Property dataSource() As Object Get Return [source] End Get Set [source] = value End Set End Property Private [source] As Object
// Associates the DataSourceConverter with an object property.
/** @attribute TypeConverterAttribute(DataSourceConverter.class)
*/
/** @property
*/
public Object get_dataSource()
{
return source;
} //get_dataSource
/** @property
*/
public void set_dataSource(Object value)
{
source = value;
} //set_dataSource
private Object source;
- SecurityPermission for calling unmanaged code. Demand value: Demand; Associated enumeration: UnmanagedCode.
System.Object
System.ComponentModel.TypeConverter
System.Web.UI.Design.DataSourceConverter
System.Web.UI.Design.HierarchicalDataSourceConverter
System.ComponentModel.TypeConverter
System.Web.UI.Design.DataSourceConverter
System.Web.UI.Design.HierarchicalDataSourceConverter
Community Additions
ADD
Show:
Caution: