System.Announcement.Item公告

System.Announcement.Item (ClassType)

定義自助入口網站公告的基本內容

Element properties:

Base ClassSystem.AdminItem
AbstractFalse
HostedFalse
SingletonFalse
ExtensionFalse
AccessibilityPublic
ElementIddef6b6a3-5322-3225-4e1e-a4bf85c3eef4

Class Hierarchy:

Class Properties:

Property Name Type Display Name (ZHH) Description (ZHH) Key Max Length Min Length Case Sensitive Default Value EnumType
System.Entity:
DisplayName  string  顯示名稱 顯示物件的名稱。 false 4000  False     
System.Announcement.Item:
Id  string      true 256  False  {0}   
Title  string  標題 公告的粗體標題文字 false 256  False     
Body  richtext  本文 公告的訊息本文 false 4000       
ExpirationDate  datetime  到期日 設定公告到期的時間 false 256       
Priority  enum  優先順序 公告的優先順序 (例如緊急、重要或一般) false 256      System.Announcement.PriorityEnum 

Health Model:

Source Code:

<ClassType ID="System.Announcement.Item" Base="System.AdminItem" Abstract="false" Accessibility="Public" Hosted="false">
<Property ID="Id" Type="string" Key="true" AutoIncrement="true" DefaultValue="{0}"/>
<Property ID="Title" Type="string" Required="true"/>
<Property ID="Body" Type="richtext" MaxLength="4000"/>
<Property ID="ExpirationDate" Type="datetime" Required="true"/>
<Property ID="Priority" Type="enum" EnumType="System.Announcement.PriorityEnum"/>
</ClassType>