IReadOnlyAnnotatable 介面

定義

支援批註的類別。 批註允許任意中繼資料儲存在 物件上。

資料庫提供者通常會使用這個介面, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。

public interface IReadOnlyAnnotatable
type IReadOnlyAnnotatable = interface
Public Interface IReadOnlyAnnotatable
衍生

備註

如需詳細資訊 和範例,請參閱資料庫提供者和延伸模組的實作

屬性

Item[String]

取得具有指定名稱的注釋值,如果不存在,則傳 null 回 。

方法

AnnotationsToDebugString(Int32)

取得 物件上宣告之所有批註的偵錯字串。

FindAnnotation(String)

取得具有指定名稱的注釋,如果不存在,則傳 null 回 。

GetAnnotation(String)

取得具有指定名稱的注釋,如果不存在,則會擲回。

GetAnnotations()

取得目前 物件上的所有批註。

適用於