Freigeben über


DataBindingCollectionConverter-Klasse

HINWEIS: Diese Klasse ist mittlerweile veraltet.

Stellt einen Typkonverter für DataBindingCollection-Objekte bereit.

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

Syntax

'Declaration
<ObsoleteAttribute("Use of this type is not recommended because DataBindings editing is launched via a DesignerActionList instead of the property grid. https://go.microsoft.com/fwlink/?linkid=14202")> _
Public Class DataBindingCollectionConverter
    Inherits TypeConverter
'Usage
Dim instance As DataBindingCollectionConverter
[ObsoleteAttribute("Use of this type is not recommended because DataBindings editing is launched via a DesignerActionList instead of the property grid. https://go.microsoft.com/fwlink/?linkid=14202")] 
public class DataBindingCollectionConverter : TypeConverter
[ObsoleteAttribute(L"Use of this type is not recommended because DataBindings editing is launched via a DesignerActionList instead of the property grid. https://go.microsoft.com/fwlink/?linkid=14202")] 
public ref class DataBindingCollectionConverter : public TypeConverter
/** @attribute ObsoleteAttribute("Use of this type is not recommended because DataBindings editing is launched via a DesignerActionList instead of the property grid. https://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. https://go.microsoft.com/fwlink/?linkid=14202") 
public class DataBindingCollectionConverter extends TypeConverter

Hinweise

Dieser Typkonverter ruft die Basis-System.ComponentModel.TypeConverter.ConvertTo-Methode für alle Zieltypen auf, mit Ausnahme von String, für den eine leere Zeichenfolge ("") zurückgegeben wird.

Beispiel

' 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
// 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.
public:
   [TypeConverterAttribute(DataBindingCollectionConverter::typeid)]
   property DataBindingCollection^ dataBindings 
   {
      DataBindingCollection^ get()
      {
         return bindings;
      }
      void set( DataBindingCollection^ value )
      {
         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;

Vererbungshierarchie

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

Threadsicherheit

Alle öffentlichen statischen (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Plattformen

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

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 1.0, 1.1
Veraltet (Compilerwarnung) in 2.0

Siehe auch

Referenz

DataBindingCollectionConverter-Member
System.Web.UI.Design-Namespace