IModelAnnotationHolder 介面
表示可以具有附加附註的類別。
命名空間: Microsoft.Data.Schema.SchemaModel
組件: Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)
語法
'宣告
Public Interface IModelAnnotationHolder
public interface IModelAnnotationHolder
public interface class IModelAnnotationHolder
type IModelAnnotationHolder = interface end
public interface IModelAnnotationHolder
IModelAnnotationHolder 型別會公開下列成員。
方法
名稱 | 說明 | |
---|---|---|
![]() |
AddAnnotation | 將指定的附註加入至這個項目。 |
![]() |
GetAnnotations() | 傳回附加至這個項目之附註的清單。 |
![]() |
GetAnnotations(Type) | 傳回指定型別之附加附註的清單。 |
![]() |
GetAnnotations(ModelIdentifier) | 傳回具有指定識別項之附加附註的清單。 |
![]() |
GetAnnotations(ModelIdentifier, Type) | |
![]() |
GetAnnotations<TType>() | 傳回實作指定之附註型別且具有指定之模型識別項的所有附加模型附註。 |
![]() |
GetAnnotations<TType>(ModelIdentifier) | |
![]() |
RemoveAnnotation | 從這個模型項目移除指定的附註。 |
回頁首