DBindingCollection Interfejs
Definicja
Przestroga
Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862
Ważne
Ten interfejs API nie jest zgodny ze specyfikacją CLS.
- Alternatywa zgodna ze specyfikacją CLS
- System.Windows.Forms.BindingsCollection
Zapewnia interfejs do zastępowania powiązania danych opartych na modelu COM w aplikacji uaktualnionej z Visual Basic 6,0.Provides an interface to replace COM-based data binding in an application upgraded from Visual Basic 6.0.
public interface class DBindingCollection : System::Collections::IEnumerable
[System.CLSCompliant(false)]
public interface DBindingCollection : System.Collections.IEnumerable
[System.CLSCompliant(false)]
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public interface DBindingCollection : System.Collections.IEnumerable
[<System.CLSCompliant(false)>]
type DBindingCollection = interface
interface IEnumerable
[<System.CLSCompliant(false)>]
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
type DBindingCollection = interface
interface IEnumerable
Public Interface DBindingCollection
Implements IEnumerable
- Pochodne
- Atrybuty
- Implementuje
Uwagi
Uwaga
Funkcje i obiekty w przestrzeni nazw Microsoft.VisualBasic.Compatibility.VB6 są udostępniane na potrzeby narzędzi służących do uaktualniania programu Visual Basic 6.0 do programu Visual Basic 2008.Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic 2008. W większości przypadków te funkcje i obiekty powielają funkcjonalność dostępną w innych przestrzeniach nazw programu .NET Framework.In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. Ich użycie jest konieczne tylko w sytuacji, gdy model kodu programu Visual Basic 6.0 różni się znacząco od wdrożenia programu .NET Framework.They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.
Właściwości
Count |
Pobiera łączną liczbę powiązań w DBindingCollection .Gets the total number of bindings in the DBindingCollection. |
DataMember |
Pobiera lub ustawia element członkowski danych dla DBindingCollection .Gets or sets the data member for a DBindingCollection. |
DataSource |
Pobiera lub ustawia źródło danych dla DBindingCollection .Gets or sets the data source for a DBindingCollection. |
Item[Object] |
Pobiera DBinding o określonym indeksie.Gets the DBinding at the specified index. |
UpdateMode |
Pobiera lub ustawia UpdateMode dla elementu DBindingCollection .Gets or sets the UpdateMode for a DBindingCollection. |
Metody
Add(Object, String, String, IDataFormatDisp, String) |
Dodaje DBinding do DBindingCollection .Adds a DBinding to a DBindingCollection. |
Clear() |
Czyści kolekcję obiektów powiązań.Clears the collection of binding objects. |
GetEnumerator() |
Zwraca moduł wyliczający, który iteruje po kolekcji.Returns an enumerator that iterates through a collection. (Odziedziczone po IEnumerable) |
Remove(Object) |
Usuwa DBinding interfejs z DBindingCollection .Removes a DBinding interface from a DBindingCollection. |
UpdateControls() |
Pobiera bieżący wiersz ze DBindingCollection źródła danych obiektu i resetuje zawartość formantów powiązanych za pośrednictwem obiektu.Gets the current row from the DBindingCollection object's data source and resets the contents of controls bound through the object. |
Metody rozszerzania
Cast<TResult>(IEnumerable) |
Rzutuje elementy elementu IEnumerable do określonego typu.Casts the elements of an IEnumerable to the specified type. |
OfType<TResult>(IEnumerable) |
Filtruje elementy IEnumerable w oparciu o określony typ.Filters the elements of an IEnumerable based on a specified type. |
AsParallel(IEnumerable) |
Włącza przetwarzanie równoległe zapytania.Enables parallelization of a query. |
AsQueryable(IEnumerable) |
Konwertuje IEnumerable do IQueryable .Converts an IEnumerable to an IQueryable. |