UnicodeAttribute 類別

定義

將 屬性設定為能夠保存 Unicode 字元。

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

備註

如需詳細資訊和範例,請參閱 模型化實體類型和關聯 性。

建構函式

名稱 Description
UnicodeAttribute(Boolean)

初始化 UnicodeAttribute 類別的新執行個體。

屬性

名稱 Description
IsUnicode

值,指出 屬性是否可以包含 unicode 字元。

適用於