DataBindingCollectionConverter Class
Provides a type converter for DataBindingCollection objects.
For a list of all members of this type, see DataBindingCollectionConverter Members.
System.Object
System.ComponentModel.TypeConverter
System.Web.UI.Design.DataBindingCollectionConverter
[Visual Basic] Public Class DataBindingCollectionConverter Inherits TypeConverter [C#] public class DataBindingCollectionConverter : TypeConverter [C++] public __gc class DataBindingCollectionConverter : public TypeConverter [JScript] public class DataBindingCollectionConverter extends TypeConverter
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Remarks
This type converter calls the base TypeConverter ConvertTo method for all destination types except string, for which this type converter returns an empty string.
Example
[Visual Basic] ' Associates the DataBindingCollectionConverter ' with a DataBindingCollection property. <TypeConverterAttribute(GetType(DataBindingCollectionConverter))> _ Public Property dataBindings() As DataBindingCollection Get Return bindings End Get Set bindings = value End Set End Property Private bindings As DataBindingCollection [C#] // Associates the DataBindingCollectionConverter // with a DataBindingCollection property. [TypeConverterAttribute(typeof(DataBindingCollectionConverter))] public DataBindingCollection dataBindings { get { return bindings; } set { bindings = value; } } private DataBindingCollection bindings; [C++] // Associates the DataBindingCollectionConverter // with a DataBindingCollection property. public: [TypeConverterAttribute(__typeof(DataBindingCollectionConverter))] __property DataBindingCollection* get_dataBindings() { return bindings; } __property void set_dataBindings(DataBindingCollection* value) { bindings = value; } private: DataBindingCollection* bindings;
[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button
in the upper-left corner of the page.
Requirements
Namespace: System.Web.UI.Design
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
Assembly: System.Design (in System.Design.dll)
See Also
DataBindingCollectionConverter Members | System.Web.UI.Design Namespace