CommentAttribute 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
用註解標記類別、屬性或欄位,並設定在對應的資料庫資料表或欄位上。
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Property)]
[System.Runtime.CompilerServices.Nullable(0)]
public sealed class CommentAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Property)]
public sealed class CommentAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Property)>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type CommentAttribute = class
inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Property)>]
type CommentAttribute = class
inherit Attribute
Public NotInheritable Class CommentAttribute
Inherits Attribute
- 繼承
-
CommentAttribute
- 屬性
備註
更多資訊與範例請參閱 建模實體類型與關係 。
建構函式
| 名稱 | Description |
|---|---|
| CommentAttribute(String) |
初始化 CommentAttribute 類別的新執行個體。 |
屬性
| 名稱 | Description |
|---|---|
| Comment |
待設定的留言。 |