LoadColumnAttribute 類別

定義

允許成員指定文字檔中欄位 () 的對應。 若要覆寫資料 IDataView 行的名稱,請使用 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
繼承
LoadColumnAttribute
屬性

建構函式

LoadColumnAttribute(Int32)

將成員對應至文字檔中的特定欄位。

LoadColumnAttribute(Int32, Int32)

將成員對應至文字檔中的欄位範圍。

LoadColumnAttribute(Int32[])

將成員對應至文字檔中的欄位集。

適用於