Sugerir traducción
 
Otros han sugerido:

progress indicator
No hay más sugerencias.
Evaluar y enviar comentarios
Contraer todo/Expandir todo Contraer todo
Ver contenido:  en paraleloVer contenido: en paralelo
.NET Framework Class Library
DataViewSettingCollection Class

Contains a read-only collection of DataViewSetting objects for each DataTable in a DataSet.

System..::.Object
  System.Data..::.DataViewSettingCollection

Namespace:  System.Data
Assembly:  System.Data (in System.Data.dll)
Visual Basic
Public Class DataViewSettingCollection _
    Implements ICollection, IEnumerable
C#
public class DataViewSettingCollection : ICollection, 
    IEnumerable
Visual C++
public ref class DataViewSettingCollection : ICollection, 
    IEnumerable
F#
type DataViewSettingCollection =  
    class
        interface ICollection
        interface IEnumerable
    end

The DataViewSettingCollection type exposes the following members.

  NameDescription
Public propertySupported by the XNA FrameworkCountGets the number of DataViewSetting objects in the DataViewSettingCollection.
Public propertySupported by the XNA FrameworkIsReadOnlyGets a value that indicates whether the DataViewSettingCollection is read-only.
Public propertySupported by the XNA FrameworkIsSynchronizedGets a value that indicates whether access to the DataViewSettingCollection is synchronized (thread-safe).
Public propertySupported by the XNA FrameworkItem[([(DataTable])])Gets the DataViewSetting objects of the specified DataTable from the collection.
Public propertySupported by the XNA FrameworkItem[([(Int32])])Gets the DataViewSetting objects of the DataTable specified by its index.
Public propertySupported by the XNA FrameworkItem[([(String])])Gets the DataViewSetting of the DataTable specified by its name.
Public propertySupported by the XNA FrameworkSyncRootGets an object that can be used to synchronize access to the DataViewSettingCollection.
Top
  NameDescription
Public methodSupported by the XNA FrameworkCopyTo(Array, Int32)Copies the collection objects to a one-dimensional Array instance starting at the specified index.
Public methodSupported by the XNA FrameworkCopyTo(array<DataViewSetting>[]()[], Int32)Copies the collection objects to a one-dimensional Array instance starting at the specified index.
Public methodSupported by the XNA FrameworkEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by the XNA FrameworkFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by the XNA FrameworkGetEnumeratorGets an IEnumerator for the collection.
Public methodSupported by the XNA FrameworkGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by the XNA FrameworkGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by the XNA FrameworkMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by the XNA FrameworkToStringReturns a string that represents the current object. (Inherited from Object.)
Top
  NameDescription
Public Extension MethodAsParallelEnables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension MethodAsQueryableConverts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension MethodSupported by the XNA FrameworkCast<(Of <(TResult>)>)Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension MethodSupported by the XNA FrameworkOfType<(Of <(TResult>)>)Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

A user cannot add or remove a DataViewSetting from the collection, but can change the properties of the DataViewSetting corresponding to a particular DataTable. Adding or removing a DataTable from the DataSet adds or removes the corresponding DataViewSetting from the collection.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

This type is safe for multithreaded read operations. You must synchronize any write operations.

Biblioteca de clases de .NET Framework
DataViewSettingCollection (Clase)

Contiene una colección de sólo lectura de objetos DataViewSetting para cada DataTable de un DataSet.

System..::.Object
  System.Data..::.DataViewSettingCollection

Espacio de nombres:  System.Data
Ensamblado:  System.Data (en System.Data.dll)
Visual Basic
Public Class DataViewSettingCollection _
    Implements ICollection, IEnumerable
C#
public class DataViewSettingCollection : ICollection, 
    IEnumerable
Visual C++
public ref class DataViewSettingCollection : ICollection, 
    IEnumerable
F#
type DataViewSettingCollection =  
    class
        interface ICollection
        interface IEnumerable
    end

El tipo DataViewSettingCollection expone los siguientes miembros.

  NombreDescripción
Propiedad públicaCompatible con XNA FrameworkCountObtiene el número de objetos DataViewSetting que hay en la colección DataViewSettingCollection.
Propiedad públicaCompatible con XNA FrameworkIsReadOnlyObtiene un valor que indica si DataViewSettingCollection es de sólo lectura.
Propiedad públicaCompatible con XNA FrameworkIsSynchronizedObtiene un valor que indica si el acceso a DataViewSettingCollection está sincronizado (seguro para la ejecución de subprocesos).
Propiedad públicaCompatible con XNA FrameworkItem[([(DataTable])])Obtiene los objetos DataViewSetting del DataTable especificado de la colección.
Propiedad públicaCompatible con XNA FrameworkItem[([(Int32])])Obtiene los objetos DataViewSetting del DataTable especificados por su índice.
Propiedad públicaCompatible con XNA FrameworkItem[([(String])])Obtiene el DataViewSetting del DataTable especificado por su nombre.
Propiedad públicaCompatible con XNA FrameworkSyncRootObtiene un objeto que se puede utilizar para sincronizar el acceso a la matriz DataViewSettingCollection.
Arriba
  NombreDescripción
Método públicoCompatible con XNA FrameworkCopyTo(Array, Int32)Copia los objetos de la colección en una instancia de Array unidimensional, comenzando a partir del índice especificado.
Método públicoCompatible con XNA FrameworkCopyTo(array<DataViewSetting>[]()[], Int32)Copia los objetos de la colección en una instancia de Array unidimensional, comenzando a partir del índice especificado.
Método públicoCompatible con XNA FrameworkEquals(Object)Determina si el objeto Object especificado es igual al objeto Object actual. (Se hereda de Object).
Método protegidoCompatible con XNA FrameworkFinalizePermite que un objeto intente liberar recursos y realizar otras operaciones de limpieza antes de ser reclamado por la recolección de elementos no utilizados. (Se hereda de Object).
Método públicoCompatible con XNA FrameworkGetEnumeratorObtiene un IEnumerator para la colección.
Método públicoCompatible con XNA FrameworkGetHashCodeActúa como función hash para un tipo concreto. (Se hereda de Object).
Método públicoCompatible con XNA FrameworkGetTypeObtiene el objeto Type de la instancia actual. (Se hereda de Object).
Método protegidoCompatible con XNA FrameworkMemberwiseCloneCrea una copia superficial del objeto Object actual. (Se hereda de Object).
Método públicoCompatible con XNA FrameworkToStringDevuelve una cadena que representa el objeto actual. (Se hereda de Object).
Arriba
  NombreDescripción
Método de extensión públicoAsParallelHabilita la paralelización de una consulta. (Definido por ParallelEnumerable).
Método de extensión públicoAsQueryableConvierte una interfaz IEnumerable en IQueryable. (Definido por Queryable).
Método de extensión públicoCompatible con XNA FrameworkCast<(Of <(TResult>)>)Convierte los elementos de IEnumerable en el tipo especificado. (Definido por Enumerable).
Método de extensión públicoCompatible con XNA FrameworkOfType<(Of <(TResult>)>)Filtra los elementos de IEnumerable en función de un tipo especificado. (Definido por Enumerable).
Arriba

Un usuario no puede agregar ni quitar un DataViewSetting de la colección, pero puede cambiar las propiedades del DataViewSetting correspondiente a un DataTable concreto. Al agregar o quitar un DataTable del DataSet, se agrega o quita el DataViewSetting correspondiente de la colección.

.NET Framework

Compatible con: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Compatible con: 4, 3.5 SP1

Windows 7, Windows Vista SP1 o posterior, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (no se admite Server Core), Windows Server 2008 R2 (se admite Server Core con SP1 o posterior), Windows Server 2003 SP2

.NET Framework no admite todas las versiones de todas las plataformas. Para obtener una lista de las versiones compatibles, vea Requisitos de sistema de .NET Framework.

Este tipo es seguro para operaciones de lectura multiproceso. Debe sincronizar cualquier operación de escritura.

Contenido de la comunidad   ¿Qué es Community Content?
Agregar contenido nuevo RSS  Anotaciones
Processing
© 2012 Microsoft. Reservados todos los derechos. Términos de uso | Marcas Registradas | Privacidad
Page view tracker