IModelAnnotationHolder.GetAnnotations 方法

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

命名空間:  Microsoft.Data.Schema.SchemaModel
組件:  Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)

語法

'宣告
Function GetAnnotations As IList(Of IModelAnnotation)
IList<IModelAnnotation> GetAnnotations()
IList<IModelAnnotation^>^ GetAnnotations()
abstract GetAnnotations : unit -> IList<IModelAnnotation> 
function GetAnnotations() : IList<IModelAnnotation>

傳回值

型別:System.Collections.Generic.IList<IModelAnnotation>
包含模型附註的清單。

.NET Framework 安全性

請參閱

參考

IModelAnnotationHolder 介面

GetAnnotations 多載

Microsoft.Data.Schema.SchemaModel 命名空間

IModelAnnotation