LoadColumnNameAttribute 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
允許成員指定資料庫中欄位 () 的對應。 若要覆寫資料行 IDataView 的名稱,請使用 ColumnNameAttribute 。
C#
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class LoadColumnNameAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type LoadColumnNameAttribute = class
inherit Attribute
Public NotInheritable Class LoadColumnNameAttribute
Inherits Attribute
- 繼承
-
LoadColumnNameAttribute
- 屬性
Load |
將成員對應至資料庫中的特定欄位。 |
Load |
將成員對應至資料庫中的欄位集。 |
產品 | 版本 |
---|---|
ML.NET | 1.4.0, 1.5.0, 1.6.0, 1.7.0, 2.0.0, 3.0.0, Preview, 4.0.0 |