ColumnNameAttribute 類別

定義

允許成員直接指定 IDataView 資料行名稱,而不是使用成員名稱做為資料行名稱的預設行為。

[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class ColumnNameAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type ColumnNameAttribute = class
    inherit Attribute
Public NotInheritable Class ColumnNameAttribute
Inherits Attribute
繼承
ColumnNameAttribute
屬性

建構函式

ColumnNameAttribute(String)

允許指定名稱來公開此資料行,而不是使用成員名稱做為資料行名稱的預設行為。

適用於