Share via


LoadColumnAttribute Classe

Définition

Autoriser le membre à spécifier le mappage des champs dans le fichier texte. Pour remplacer le nom de l’utilisation ColumnNameAttributede IDataView colonne .

[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
Héritage
LoadColumnAttribute
Attributs

Constructeurs

LoadColumnAttribute(Int32)

Mappe le membre à un champ spécifique dans un fichier texte.

LoadColumnAttribute(Int32, Int32)

Mappe le membre à la plage de champs dans le fichier texte.

LoadColumnAttribute(Int32[])

Mappe le membre à l’ensemble de champs dans le fichier texte.

S’applique à