ModelStore.GetAnnotations 方法 (Type)

傳回實作特定型別之模型上的附註清單。

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

語法

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

參數

傳回值

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

實作

IModelAnnotationHolder.GetAnnotations(Type)

.NET Framework 安全性

請參閱

參考

ModelStore 類別

GetAnnotations 多載

Microsoft.Data.Schema.SchemaModel 命名空間

IModelAnnotation