DataViewManager Classe
Definição
Contém uma DataViewSettingCollection padrão para cada DataTable em um DataSet.Contains a default DataViewSettingCollection for each DataTable in a DataSet.
public ref class DataViewManager : System::ComponentModel::MarshalByValueComponent, System::Collections::IList, System::ComponentModel::IBindingList, System::ComponentModel::ITypedList
public ref class DataViewManager : System::ComponentModel::MarshalByValueComponent, System::ComponentModel::IBindingList, System::ComponentModel::ITypedList
public class DataViewManager : System.ComponentModel.MarshalByValueComponent, System.Collections.IList, System.ComponentModel.IBindingList, System.ComponentModel.ITypedList
public class DataViewManager : System.ComponentModel.MarshalByValueComponent, System.ComponentModel.IBindingList, System.ComponentModel.ITypedList
type DataViewManager = class
inherit MarshalByValueComponent
interface ICollection
interface IEnumerable
interface IList
interface IBindingList
interface ITypedList
type DataViewManager = class
inherit MarshalByValueComponent
interface IBindingList
interface IList
interface ICollection
interface IEnumerable
interface ITypedList
type DataViewManager = class
inherit MarshalByValueComponent
interface IBindingList
interface ITypedList
interface IList
interface ICollection
interface IEnumerable
Public Class DataViewManager
Inherits MarshalByValueComponent
Implements IBindingList, IList, ITypedList
Public Class DataViewManager
Inherits MarshalByValueComponent
Implements IBindingList, ITypedList
- Herança
- Implementações
Construtores
DataViewManager() |
Inicializa uma nova instância da classe DataViewManager.Initializes a new instance of the DataViewManager class. |
DataViewManager(DataSet) |
Inicializa uma nova instância da classe DataViewManager para o DataSet especificado.Initializes a new instance of the DataViewManager class for the specified DataSet. |
Propriedades
Container |
Obtém o contêiner para o componente.Gets the container for the component. (Herdado de MarshalByValueComponent) |
DataSet |
Obtém ou define o DataSet a ser usado com o DataViewManager.Gets or sets the DataSet to use with the DataViewManager. |
DataViewSettingCollectionString |
Obtém ou define um valor usado para persistência do código.Gets or sets a value that is used for code persistence. |
DataViewSettings |
Obtém o DataViewSettingCollection para cada DataTable no DataSet.Gets the DataViewSettingCollection for each DataTable in the DataSet. |
DesignMode |
Obtém um valor que indica se o componente está atualmente no modo de design.Gets a value indicating whether the component is currently in design mode. (Herdado de MarshalByValueComponent) |
Events |
Obtém a lista de manipuladores de eventos que estão anexados a este componente.Gets the list of event handlers that are attached to this component. (Herdado de MarshalByValueComponent) |
Site |
Obtém ou define o site do componente.Gets or sets the site of the component. (Herdado de MarshalByValueComponent) |
Métodos
CreateDataView(DataTable) |
Cria um DataView para o DataTable especificado.Creates a DataView for the specified DataTable. |
Dispose() |
Libera todos os recursos usados pelo MarshalByValueComponent.Releases all resources used by the MarshalByValueComponent. (Herdado de MarshalByValueComponent) |
Dispose(Boolean) |
Libera os recursos não gerenciados usados pelo MarshalByValueComponent e opcionalmente libera os recursos gerenciados.Releases the unmanaged resources used by the MarshalByValueComponent and optionally releases the managed resources. (Herdado de MarshalByValueComponent) |
Equals(Object) |
Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object. (Herdado de Object) |
GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
GetService(Type) |
Obtém o implementador do IServiceProvider.Gets the implementer of the IServiceProvider. (Herdado de MarshalByValueComponent) |
GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
OnListChanged(ListChangedEventArgs) |
Aciona o evento ListChanged.Raises the ListChanged event. |
RelationCollectionChanged(Object, CollectionChangeEventArgs) |
Gera um evento CollectionChanged quando um DataRelation é adicionado ou removido do DataRelationCollection.Raises a CollectionChanged event when a DataRelation is added to or removed from the DataRelationCollection. |
TableCollectionChanged(Object, CollectionChangeEventArgs) |
Gera um evento CollectionChanged quando um DataTable é adicionado ou removido do DataTableCollection.Raises a CollectionChanged event when a DataTable is added to or removed from the DataTableCollection. |
ToString() |
Retorna um String que contém o nome do Component, se houver.Returns a String containing the name of the Component, if any. Esse método não deve ser substituído.This method should not be overridden. (Herdado de MarshalByValueComponent) |
Eventos
Disposed |
Adiciona um manipulador de eventos para escutar o evento Disposed no componente.Adds an event handler to listen to the Disposed event on the component. (Herdado de MarshalByValueComponent) |
ListChanged |
Ocorre depois que uma linha é adicionada ou excluída de uma DataView.Occurs after a row is added to or deleted from a DataView. |
Implantações explícitas de interface
IBindingList.AddIndex(PropertyDescriptor) |
Adiciona o PropertyDescriptor aos índices usados para pesquisa.Adds the PropertyDescriptor to the indexes used for searching. |
IBindingList.AddNew() |
Para obter uma descrição desse membro, confira AddNew().For a description of this member, see AddNew(). |
IBindingList.AllowEdit |
Para obter uma descrição desse membro, confira AllowEdit.For a description of this member, see AllowEdit. |
IBindingList.AllowNew |
Para obter uma descrição desse membro, confira AllowNew.For a description of this member, see AllowNew. |
IBindingList.AllowRemove |
Para obter uma descrição desse membro, confira AllowRemove.For a description of this member, see AllowRemove. |
IBindingList.ApplySort(PropertyDescriptor, ListSortDirection) |
Classifica a lista com base em um PropertyDescriptor e um ListSortDirection.Sorts the list based on a PropertyDescriptor and a ListSortDirection. |
IBindingList.Find(PropertyDescriptor, Object) |
Retorna o índice da linha que tem o PropertyDescriptor determinado.Returns the index of the row that has the given PropertyDescriptor. |
IBindingList.IsSorted |
Para obter uma descrição desse membro, confira IsSorted.For a description of this member, see IsSorted. |
IBindingList.RemoveIndex(PropertyDescriptor) |
Remove o PropertyDescriptor dos índices usados para pesquisa.Removes the PropertyDescriptor from the indexes used for searching. |
IBindingList.RemoveSort() |
Remove qualquer classificação aplicada usando ApplySort(PropertyDescriptor, ListSortDirection).Removes any sort applied using ApplySort(PropertyDescriptor, ListSortDirection). |
IBindingList.SortDirection |
Para obter uma descrição desse membro, confira SortDirection.For a description of this member, see SortDirection. |
IBindingList.SortProperty |
Para obter uma descrição desse membro, confira SortProperty.For a description of this member, see SortProperty. |
IBindingList.SupportsChangeNotification |
Para obter uma descrição desse membro, confira SupportsChangeNotification.For a description of this member, see SupportsChangeNotification. |
IBindingList.SupportsSearching |
Para obter uma descrição desse membro, confira SupportsSearching.For a description of this member, see SupportsSearching. |
IBindingList.SupportsSorting |
Para obter uma descrição desse membro, confira SupportsSorting.For a description of this member, see SupportsSorting. |
ICollection.CopyTo(Array, Int32) |
Copia os elementos do ICollection para um Array, começando em um determinado índice Array.Copies the elements of the ICollection to an Array, starting at a particular Array index. |
ICollection.Count |
Para obter uma descrição desse membro, confira Count.For a description of this member, see Count. |
ICollection.IsSynchronized |
Para obter uma descrição desse membro, confira IsSynchronized.For a description of this member, see IsSynchronized. |
ICollection.SyncRoot |
Para obter uma descrição desse membro, confira SyncRoot.For a description of this member, see SyncRoot. |
IEnumerable.GetEnumerator() |
Para obter uma descrição desse membro, confira GetEnumerator().For a description of this member, see GetEnumerator(). |
IList.Add(Object) | |
IList.Clear() |
Para obter uma descrição desse membro, confira Clear().For a description of this member, see Clear(). |
IList.Contains(Object) |
Determinará se o IList contiver um valor específico.Determines whether the IList contains a specific value. |
IList.IndexOf(Object) |
Determina o índice de um item específico em IList.Determines the index of a specific item in the IList. |
IList.Insert(Int32, Object) |
Insere um item na IList no índice especificado.Inserts an item to the IList at the specified index. |
IList.IsFixedSize |
Para obter uma descrição desse membro, confira IsFixedSize.For a description of this member, see IsFixedSize. |
IList.IsReadOnly |
Para obter uma descrição desse membro, confira IsReadOnly.For a description of this member, see IsReadOnly. |
IList.Item[Int32] |
Obtém ou define o elemento no índice especificado.Gets or sets the element at the specified index. |
IList.Remove(Object) |
Remove a primeira ocorrência de um objeto específico do IList.Removes the first occurrence of a specific object from the IList. |
IList.RemoveAt(Int32) |
Remove o item IList no índice especificado.Removes the IList item at the specified index. |
ITypedList.GetItemProperties(PropertyDescriptor[]) |
Retorna o PropertyDescriptorCollection que representa as propriedades em cada item usado para associar os dados.Returns the PropertyDescriptorCollection that represents the properties on each item used to bind data. |
ITypedList.GetListName(PropertyDescriptor[]) |
Retorna o nome da lista.Returns the name of the list. |
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
Acesso thread-safe
Este tipo é seguro para operações de leitura e multithread.This type is safe for multithreaded read operations. Você deve sincronizar todas as operações de gravação.You must synchronize any write operations.