Dela via


LoadColumnAttribute Class

Definition

Allow member to specify mapping to field(s) in text file. To override name of IDataView column use 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
Inheritance
LoadColumnAttribute
Attributes

Constructors

LoadColumnAttribute(Int32, Int32)

Maps member to range of fields in text file.

LoadColumnAttribute(Int32)

Maps member to specific field in text file.

LoadColumnAttribute(Int32[])

Maps member to set of fields in text file.

Applies to