共用方式為


ModelElement.GetAnnotations 方法

取得已加入至這個項目的附註清單。

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

語法

'宣告
Public Function GetAnnotations As IList(Of IModelAnnotation)
public IList<IModelAnnotation> GetAnnotations()
public:
virtual IList<IModelAnnotation^>^ GetAnnotations() sealed
abstract GetAnnotations : unit -> IList<IModelAnnotation> 
override GetAnnotations : unit -> IList<IModelAnnotation> 
public final function GetAnnotations() : IList<IModelAnnotation>

傳回值

型別:System.Collections.Generic.IList<IModelAnnotation>
型別為 IModelAnnotationIList<T> 物件。

實作

IModelAnnotationHolder.GetAnnotations()

.NET Framework 安全性

請參閱

參考

ModelElement 類別

GetAnnotations 多載

Microsoft.Data.Schema.SchemaModel 命名空間

IModelAnnotation

GetAnnotations