LoadColumnAttribute Klasa

Definicja

Zezwalaj członkowi na określanie mapowania pól w pliku tekstowym. Aby zastąpić nazwę kolumny IDataView , użyj polecenia 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
Dziedziczenie
LoadColumnAttribute
Atrybuty

Konstruktory

LoadColumnAttribute(Int32)

Mapuje element członkowski na określone pole w pliku tekstowym.

LoadColumnAttribute(Int32, Int32)

Mapuje element członkowski na zakres pól w pliku tekstowym.

LoadColumnAttribute(Int32[])

Mapuje element członkowski na zestaw pól w pliku tekstowym.

Dotyczy