Export (0) Print
Expand All

DataBindingCollectionConverter Class

NOTE: This class is now obsolete.

Provides a type converter for DataBindingCollection objects.

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

[ObsoleteAttribute("Use of this type is not recommended because DataBindings editing is launched via a DesignerActionList instead of the property grid. http://go.microsoft.com/fwlink/?linkid=14202")] 
public class DataBindingCollectionConverter : TypeConverter
/** @attribute ObsoleteAttribute("Use of this type is not recommended because DataBindings editing is launched via a DesignerActionList instead of the property grid. http://go.microsoft.com/fwlink/?linkid=14202") */ 
public class DataBindingCollectionConverter extends TypeConverter
ObsoleteAttribute("Use of this type is not recommended because DataBindings editing is launched via a DesignerActionList instead of the property grid. http://go.microsoft.com/fwlink/?linkid=14202") 
public class DataBindingCollectionConverter extends TypeConverter

This type converter calls the base System.ComponentModel.TypeConverter.ConvertTo method for all destination types except String, for which an empty string ("") is returned.

// Associates the DataBindingCollectionConverter 
// with a DataBindingCollection property.
[TypeConverterAttribute(typeof(DataBindingCollectionConverter))]
public DataBindingCollection dataBindings
{
    get
    {
        return bindings;
    }
    set
    {
        bindings = value;
    }
}
private DataBindingCollection bindings;

// Associates the DataBindingCollectionConverter 
// with a DataBindingCollection property.
/** @attribute TypeConverterAttribute(DataBindingCollectionConverter.class)
 */
/** @property 
 */
public DataBindingCollection get_dataBindings()
{
    return bindings;
} //get_dataBindings

/** @property 
 */
public void set_dataBindings(DataBindingCollection value)
{
    bindings = value;
} //set_dataBindings

private DataBindingCollection bindings;

System.Object
   System.ComponentModel.TypeConverter
    System.Web.UI.Design.DataBindingCollectionConverter

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: 1.0, 1.1
Obsolete (compiler warning) in 2.0
Show:
© 2014 Microsoft