BindingSource Konstruktorok
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Inicializálja a BindingSource osztály új példányát.
Túlterhelések
| Name | Description |
|---|---|
| BindingSource() |
Inicializálja az BindingSource osztály új példányát az alapértelmezett tulajdonságértékekre. |
| BindingSource(IContainer) |
Inicializálja az BindingSource osztály új példányát, és hozzáadja a BindingSource megadott tárolóhoz. |
| BindingSource(Object, String) |
Inicializálja az osztály új példányát BindingSource a megadott adatforrással és adattaggal. |
BindingSource()
- Forrás:
- BindingSource.cs
- Forrás:
- BindingSource.cs
- Forrás:
- BindingSource.cs
- Forrás:
- BindingSource.cs
- Forrás:
- BindingSource.cs
Inicializálja az BindingSource osztály új példányát az alapértelmezett tulajdonságértékekre.
public:
BindingSource();
public BindingSource();
Public Sub New ()
Megjegyzések
Az alábbi táblázat a konstruktor által inicializált alapértelmezett BindingSource tulajdonságértékeket mutatja.
| Ingatlan | Alapértelmezett érték |
|---|---|
| DataSource | null |
| DataMember | Empty |
| Sort | null |
| Filter | null |
| RaiseListChangedEvents | true |
Lásd még
A következőre érvényes:
BindingSource(IContainer)
- Forrás:
- BindingSource.cs
- Forrás:
- BindingSource.cs
- Forrás:
- BindingSource.cs
- Forrás:
- BindingSource.cs
- Forrás:
- BindingSource.cs
Inicializálja az BindingSource osztály új példányát, és hozzáadja a BindingSource megadott tárolóhoz.
public:
BindingSource(System::ComponentModel::IContainer ^ container);
public BindingSource(System.ComponentModel.IContainer container);
new System.Windows.Forms.BindingSource : System.ComponentModel.IContainer -> System.Windows.Forms.BindingSource
Public Sub New (container As IContainer)
Paraméterek
- container
- IContainer
Az IContainer aktuális BindingSource elem hozzáadásához.
Megjegyzések
Ez a konstruktor meghívja a paraméter nélküli konstruktort, majd hozzáadja az áramot BindingSource a megadott tárolóhoz. Ezt általában nem a megoldások programozója használja, hanem a tervezési idejű környezetek szerzői.
A következőre érvényes:
BindingSource(Object, String)
- Forrás:
- BindingSource.cs
- Forrás:
- BindingSource.cs
- Forrás:
- BindingSource.cs
- Forrás:
- BindingSource.cs
- Forrás:
- BindingSource.cs
Inicializálja az osztály új példányát BindingSource a megadott adatforrással és adattaggal.
public:
BindingSource(System::Object ^ dataSource, System::String ^ dataMember);
public BindingSource(object dataSource, string dataMember);
public BindingSource(object? dataSource, string dataMember);
new System.Windows.Forms.BindingSource : obj * string -> System.Windows.Forms.BindingSource
Public Sub New (dataSource As Object, dataMember As String)
Paraméterek
- dataSource
- Object
- dataMember
- String
Az adatforrás adott oszlopa vagy listaneve, amelyhez csatlakozni szeretne.