DBindingCollection Interface

Definição

Cuidado

Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862

Importante

Esta API não está em conformidade com CLS.

Alternativa em conformidade com CLS
System.Windows.Forms.BindingsCollection

Fornece uma interface para substituir a associação de dados baseada em COM em um aplicativo atualizado do 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
Derivado
Atributos
Implementações

Comentários

Observação

Funções e os objetos no namespace Microsoft.VisualBasic.Compatibility.VB6 são fornecidos para uso pelas ferramentas para atualização do Visual Basic 6.0 para o 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. Na maioria dos casos, essas funções e objetos duplicam a funcionalidade que é possível encontrar em outros namespaces no .NET FrameworkIn most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. Eles apenas são necessários quando o modelo de código do Visual Basic 6.0 difere significativamente da implementação do .NET Framework.They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

Propriedades

Count

Obtém o número total de associações na DBindingCollection.Gets the total number of bindings in the DBindingCollection.

DataMember

Obtém ou define o membro de dados de uma DBindingCollection.Gets or sets the data member for a DBindingCollection.

DataSource

Obtém ou define a fonte de dados para um DBindingCollection.Gets or sets the data source for a DBindingCollection.

Item[Object]

Obtém o DBinding no índice especificado.Gets the DBinding at the specified index.

UpdateMode

Obtém ou define o UpdateMode para um DBindingCollection.Gets or sets the UpdateMode for a DBindingCollection.

Métodos

Add(Object, String, String, IDataFormatDisp, String)

Adiciona um DBinding a um DBindingCollection.Adds a DBinding to a DBindingCollection.

Clear()

Limpa a coleção de objetos de associação.Clears the collection of binding objects.

GetEnumerator()

Retorna um enumerador que itera em uma coleção.Returns an enumerator that iterates through a collection.

(Herdado de IEnumerable)
Remove(Object)

Remove uma interface DBinding de um DBindingCollection.Removes a DBinding interface from a DBindingCollection.

UpdateControls()

Obtém a linha atual da fonte de dados do objeto DBindingCollection e redefine o conteúdo de controles associados por meio do objeto.Gets the current row from the DBindingCollection object's data source and resets the contents of controls bound through the object.

Métodos de Extensão

Cast<TResult>(IEnumerable)

Converte os elementos de um IEnumerable para o tipo especificado.Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

Filtra os elementos de um IEnumerable com base em um tipo especificado.Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable)

Habilita a paralelização de uma consulta.Enables parallelization of a query.

AsQueryable(IEnumerable)

Converte um IEnumerable em um IQueryable.Converts an IEnumerable to an IQueryable.

Aplica-se a