LoadColumnAttribute Classe

Definizione

Consente al membro di specificare il mapping ai campi nel file di testo. Per eseguire l'override del nome della IDataView colonna, utilizzare ColumnNameAttribute.

[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class LoadColumnAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type LoadColumnAttribute = class
    inherit Attribute
Public NotInheritable Class LoadColumnAttribute
Inherits Attribute
Ereditarietà
LoadColumnAttribute
Attributi

Costruttori

LoadColumnAttribute(Int32)

Esegue il mapping del membro a un campo specifico nel file di testo.

LoadColumnAttribute(Int32, Int32)

Esegue il mapping del membro all'intervallo di campi nel file di testo.

LoadColumnAttribute(Int32[])

Esegue il mapping del membro al set di campi nel file di testo.

Si applica a