DataViewManager Classe
Definizione
Contiene un DataViewSettingCollection predefinito per ogni DataTable in un 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
- Ereditarietà
- Implementazioni
Costruttori
DataViewManager() |
Inizializza una nuova istanza della classe DataViewManager.Initializes a new instance of the DataViewManager class. |
DataViewManager(DataSet) |
Inizializza una nuova istanza della classe DataViewManager per l'oggetto DataSet specificato.Initializes a new instance of the DataViewManager class for the specified DataSet. |
Proprietà
Container |
Ottiene il contenitore del componente.Gets the container for the component. (Ereditato da MarshalByValueComponent) |
DataSet |
Ottiene o imposta la classe DataSet da utilizzare con la classe DataViewManager.Gets or sets the DataSet to use with the DataViewManager. |
DataViewSettingCollectionString |
Ottiene o imposta un valore utilizzato per la persistenza del codice.Gets or sets a value that is used for code persistence. |
DataViewSettings |
Ottiene l'insieme DataViewSettingCollection per ciascun oggetto DataTable nell'oggetto DataSet.Gets the DataViewSettingCollection for each DataTable in the DataSet. |
DesignMode |
Ottiene un valore che indica se il componente è in modalità progettazione.Gets a value indicating whether the component is currently in design mode. (Ereditato da MarshalByValueComponent) |
Events |
Ottiene l'elenco dei gestori eventi allegati a questo componente.Gets the list of event handlers that are attached to this component. (Ereditato da MarshalByValueComponent) |
Site |
Ottiene o imposta il sito del componente.Gets or sets the site of the component. (Ereditato da MarshalByValueComponent) |
Metodi
CreateDataView(DataTable) |
Crea un oggetto DataView per l'oggetto DataTable specificato.Creates a DataView for the specified DataTable. |
Dispose() |
Rilascia tutte le risorse usate da MarshalByValueComponent.Releases all resources used by the MarshalByValueComponent. (Ereditato da MarshalByValueComponent) |
Dispose(Boolean) |
Rilascia le risorse non gestite usate da MarshalByValueComponent e, facoltativamente, le risorse gestite.Releases the unmanaged resources used by the MarshalByValueComponent and optionally releases the managed resources. (Ereditato da MarshalByValueComponent) |
Equals(Object) |
Determina se l'oggetto specificato è uguale all'oggetto corrente.Determines whether the specified object is equal to the current object. (Ereditato da Object) |
GetHashCode() |
Funge da funzione hash predefinita.Serves as the default hash function. (Ereditato da Object) |
GetService(Type) |
Ottiene l'implementatore dell'interfaccia IServiceProvider.Gets the implementer of the IServiceProvider. (Ereditato da MarshalByValueComponent) |
GetType() |
Ottiene l'oggetto Type dell'istanza corrente.Gets the Type of the current instance. (Ereditato da Object) |
MemberwiseClone() |
Crea una copia superficiale dell'oggetto Object corrente.Creates a shallow copy of the current Object. (Ereditato da Object) |
OnListChanged(ListChangedEventArgs) |
Genera l'evento ListChanged.Raises the ListChanged event. |
RelationCollectionChanged(Object, CollectionChangeEventArgs) |
Genera un evento CollectionChanged quando un oggetto DataRelation viene aggiunto o rimosso da DataRelationCollection.Raises a CollectionChanged event when a DataRelation is added to or removed from the DataRelationCollection. |
TableCollectionChanged(Object, CollectionChangeEventArgs) |
Genera un evento CollectionChanged quando un oggetto DataTable viene aggiunto o rimosso da DataTableCollection.Raises a CollectionChanged event when a DataTable is added to or removed from the DataTableCollection. |
ToString() |
Restituisce un oggetto String che contiene il nome dell'eventuale oggetto Component.Returns a String containing the name of the Component, if any. Questo metodo non deve essere sottoposto a override.This method should not be overridden. (Ereditato da MarshalByValueComponent) |
Eventi
Disposed |
Aggiunge un gestore evento per restare in attesa dell'evento Disposed sul componente.Adds an event handler to listen to the Disposed event on the component. (Ereditato da MarshalByValueComponent) |
ListChanged |
Viene generato quando una riga viene aggiunta o eliminata da un oggetto DataView.Occurs after a row is added to or deleted from a DataView. |
Implementazioni dell'interfaccia esplicita
IBindingList.AddIndex(PropertyDescriptor) |
Consente di aggiungere l'oggetto PropertyDescriptor agli indici utilizzati per la ricerca.Adds the PropertyDescriptor to the indexes used for searching. |
IBindingList.AddNew() |
Per una descrizione di questo membro, vedere AddNew().For a description of this member, see AddNew(). |
IBindingList.AllowEdit |
Per una descrizione di questo membro, vedere AllowEdit.For a description of this member, see AllowEdit. |
IBindingList.AllowNew |
Per una descrizione di questo membro, vedere AllowNew.For a description of this member, see AllowNew. |
IBindingList.AllowRemove |
Per una descrizione di questo membro, vedere AllowRemove.For a description of this member, see AllowRemove. |
IBindingList.ApplySort(PropertyDescriptor, ListSortDirection) |
Ordina l'elenco in base a un oggetto PropertyDescriptor e a un oggetto ListSortDirection.Sorts the list based on a PropertyDescriptor and a ListSortDirection. |
IBindingList.Find(PropertyDescriptor, Object) |
Consente di restituire l'indice della riga che presenta il dato oggetto PropertyDescriptor.Returns the index of the row that has the given PropertyDescriptor. |
IBindingList.IsSorted |
Per una descrizione di questo membro, vedere IsSorted.For a description of this member, see IsSorted. |
IBindingList.RemoveIndex(PropertyDescriptor) |
Consente di rimuovere l'oggetto PropertyDescriptor dagli indici utilizzati per la ricerca.Removes the PropertyDescriptor from the indexes used for searching. |
IBindingList.RemoveSort() |
Consente di rimuovere qualsiasi ordinamento applicato utilizzando il metodo ApplySort(PropertyDescriptor, ListSortDirection).Removes any sort applied using ApplySort(PropertyDescriptor, ListSortDirection). |
IBindingList.SortDirection |
Per una descrizione di questo membro, vedere SortDirection.For a description of this member, see SortDirection. |
IBindingList.SortProperty |
Per una descrizione di questo membro, vedere SortProperty.For a description of this member, see SortProperty. |
IBindingList.SupportsChangeNotification |
Per una descrizione di questo membro, vedere SupportsChangeNotification.For a description of this member, see SupportsChangeNotification. |
IBindingList.SupportsSearching |
Per una descrizione di questo membro, vedere SupportsSearching.For a description of this member, see SupportsSearching. |
IBindingList.SupportsSorting |
Per una descrizione di questo membro, vedere SupportsSorting.For a description of this member, see SupportsSorting. |
ICollection.CopyTo(Array, Int32) |
Copia gli elementi di ICollection in Array a partire da un particolare indice Array.Copies the elements of the ICollection to an Array, starting at a particular Array index. |
ICollection.Count |
Per una descrizione di questo membro, vedere Count.For a description of this member, see Count. |
ICollection.IsSynchronized |
Per una descrizione di questo membro, vedere IsSynchronized.For a description of this member, see IsSynchronized. |
ICollection.SyncRoot |
Per una descrizione di questo membro, vedere SyncRoot.For a description of this member, see SyncRoot. |
IEnumerable.GetEnumerator() |
Per una descrizione di questo membro, vedere GetEnumerator().For a description of this member, see GetEnumerator(). |
IList.Add(Object) | |
IList.Clear() |
Per una descrizione di questo membro, vedere Clear().For a description of this member, see Clear(). |
IList.Contains(Object) |
Stabilisce se IList contiene un valore specifico.Determines whether the IList contains a specific value. |
IList.IndexOf(Object) |
Determina l'indice di un elemento specifico in IList.Determines the index of a specific item in the IList. |
IList.Insert(Int32, Object) |
Inserisce un elemento in IList in corrispondenza dell'indice specificato.Inserts an item to the IList at the specified index. |
IList.IsFixedSize |
Per una descrizione di questo membro, vedere IsFixedSize.For a description of this member, see IsFixedSize. |
IList.IsReadOnly |
Per una descrizione di questo membro, vedere IsReadOnly.For a description of this member, see IsReadOnly. |
IList.Item[Int32] |
Ottiene o imposta l'elemento in corrispondenza dell'indice specificato.Gets or sets the element at the specified index. |
IList.Remove(Object) |
Rimuove la prima occorrenza di un oggetto specifico da IList.Removes the first occurrence of a specific object from the IList. |
IList.RemoveAt(Int32) |
Rimuove l'elemento IList in corrispondenza dell'indice specificato.Removes the IList item at the specified index. |
ITypedList.GetItemProperties(PropertyDescriptor[]) |
Restituisce l'oggetto PropertyDescriptorCollection che rappresenta le proprietà di ogni elemento usato per associare i dati.Returns the PropertyDescriptorCollection that represents the properties on each item used to bind data. |
ITypedList.GetListName(PropertyDescriptor[]) |
Restituisce il nome dell'elenco.Returns the name of the list. |
Metodi di estensione
Cast<TResult>(IEnumerable) |
Esegue il cast degli elementi di un oggetto IEnumerable nel tipo specificato.Casts the elements of an IEnumerable to the specified type. |
OfType<TResult>(IEnumerable) |
Filtra gli elementi di un oggetto IEnumerable in base a un tipo specificato.Filters the elements of an IEnumerable based on a specified type. |
AsParallel(IEnumerable) |
Consente la parallelizzazione di una query.Enables parallelization of a query. |
AsQueryable(IEnumerable) |
Converte un oggetto IEnumerable in un oggetto IQueryable.Converts an IEnumerable to an IQueryable. |
Si applica a
Thread safety
Questo tipo è sicuro per le operazioni di lettura multithread.This type is safe for multithreaded read operations. È necessario sincronizzare le operazioni di scrittura.You must synchronize any write operations.