OdfColumnNameAttribute Class

OdfColumn Name Attribute 用來對應輸出表格Column文字

Definition

Namespace: eBizprise.Utility
Assembly: eBizprise.Utility.OdfHelper (in eBizprise.Utility.OdfHelper.dll) Version: 25.0.1.0+adf38c4ccb2bf98d8ad258a6278302b5e05a94ed
C#
public class OdfColumnNameAttribute : Attribute
Inheritance
Object    Attribute    OdfColumnNameAttribute

Example

C#
class AssignProject
{
    [OdfColumnName("客戶統編")]
    public string CustomerNo { get; set; }

    [OdfColumnName("客戶名稱(中文)")]
    public string Name { get; set; }

    [OdfColumnName("登記地址")]
    public string CompanyAddress { get; set; }

       // 其它屬性
       ...

}

Constructors

OdfColumnNameAttribute OdfColumnNameAttribute 建構子

Properties

TypeIdWhen implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute)

Methods

EqualsReturns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeReturns the hash code for this instance.
(Inherited from Attribute)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IsDefaultAttributeWhen overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute)
MatchWhen overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Extension Methods

ToBsonString 轉換Bson字串
(Defined by SerializeExtend)
ToBsonString 轉換Bson字串
(Defined by SerializeExtend)
ToJsonString 轉換Json字串
(Defined by SerializeExtend)
ToJsonString 轉換Json字串
(Defined by SerializeExtend)
ToXmlString 轉換Xml字串
(Defined by SerializeExtend)
WriteJsonFile 寫入Json格式檔案
(Defined by SerializeExtend)

Revision History

DateVersionDescription
2021/04/221.0.0.0初版
2025/09/1925.0.0.0彙整2025年度初版

See Also