Sugerir traducción
 
Otros han sugerido:

progress indicator
No hay más sugerencias.
Evaluar y enviar comentarios
MSDN
MSDN Library
System.Data
 MappingType (Enumeración)
Contraer todo/Expandir todo Contraer todo
Ver contenido:  en paraleloVer contenido: en paralelo
.NET Framework Class Library
MappingType Enumeration

Specifies how a DataColumn is mapped.

Namespace:  System.Data
Assembly:  System.Data (in System.Data.dll)
Visual Basic
<SerializableAttribute> _
Public Enumeration MappingType
C#
[SerializableAttribute]
public enum MappingType
Visual C++
[SerializableAttribute]
public enum class MappingType
F#
[<SerializableAttribute>]
type MappingType
Member nameDescription
Supported by the XNA FrameworkElementThe column is mapped to an XML element.
Supported by the XNA FrameworkAttributeThe column is mapped to an XML attribute.
Supported by the XNA FrameworkSimpleContentThe column is mapped to an XmlText node.
Supported by the XNA FrameworkHiddenThe column is mapped to an internal structure.

The MappingType enumeration is used when getting or setting the ColumnMapping property of the DataColumn. The property determines how a column's values will be written when the WriteXml method is called on a DataSet to write the data and schema out as an XML document.

The following example returns the ColumnMapping property value for each column in a table.

Visual Basic
Private Sub GetColumnMapping(ByVal dataTable As DataTable)
    Dim dataColumn As DataColumn
    For Each dataColumn In dataTable.Columns
        Console.WriteLine(dataColumn.ColumnMapping.ToString())
    Next dataColumn
End Sub
C#
static private void GetColumnMapping(DataTable dataTable)
{
    foreach (DataColumn dataColumn in dataTable.Columns)
    {
        Console.WriteLine(dataColumn.ColumnMapping.ToString());
    }
}

.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.
Biblioteca de clases de .NET Framework
MappingType (Enumeración)

Especifica cómo se asigna DataColumn.

Espacio de nombres:  System.Data
Ensamblado:  System.Data (en System.Data.dll)
Visual Basic
<SerializableAttribute> _
Public Enumeration MappingType
C#
[SerializableAttribute]
public enum MappingType
Visual C++
[SerializableAttribute]
public enum class MappingType
F#
[<SerializableAttribute>]
type MappingType
Nombre de miembroDescripción
Compatible con XNA FrameworkElementLa columna se asigna a un elemento XML.
Compatible con XNA FrameworkAttributeLa columna se asigna a un atributo XML.
Compatible con XNA FrameworkSimpleContentLa columna se asigna a un nodo XmlText.
Compatible con XNA FrameworkHiddenLa columna se asigna a una estructura interna.

La enumeración MappingType se utiliza al obtener o establecer la propiedad ColumnMapping del DataColumn. La propiedad determina cómo se escriben los valores de una columna cuando se llama al método WriteXml en un DataSet para escribir los datos y el esquema como un documento XML.

En el ejemplo siguiente se devuelve el valor de la propiedad ColumnMapping para cada columna de una tabla.

Visual Basic
Private Sub GetColumnMapping(ByVal dataTable As DataTable)
    Dim dataColumn As DataColumn
    For Each dataColumn In dataTable.Columns
        Console.WriteLine(dataColumn.ColumnMapping.ToString())
    Next dataColumn
End Sub
C#
static private void GetColumnMapping(DataTable dataTable)
{
    foreach (DataColumn dataColumn in dataTable.Columns)
    {
        Console.WriteLine(dataColumn.ColumnMapping.ToString());
    }
}

.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.
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