共用方式為


IModelAnnotationHolder.GetAnnotations 方法

包含受保護的成員
包含繼承的成員

傳回包含附加至這個項目之附註的清單。

這個成員是多載的。如需這個成員的完整資訊,包含語法、使用方式和範例,請按一下多載清單中的名稱。

多載清單

  名稱 說明
公用方法 GetAnnotations() 傳回附加至這個項目之附註的清單。
公用方法 GetAnnotations<TType>() 傳回實作指定之附註型別且具有指定之模型識別項的所有附加模型附註。
公用方法 GetAnnotations(Type) 傳回指定型別之附加附註的清單。
公用方法 GetAnnotations<TType>(ModelIdentifier)
公用方法 GetAnnotations(ModelIdentifier) 傳回具有指定識別項之附加附註的清單。
公用方法 GetAnnotations(ModelIdentifier, Type)

回頁首

請參閱

參考

IModelAnnotationHolder 介面

Microsoft.Data.Schema.SchemaModel 命名空間