ModelStore.GetAnnotations<TType> 方法

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

語法

'宣告
Public Function GetAnnotations(Of TType As {Class, IModelAnnotation}) As IList(Of TType)
public IList<TType> GetAnnotations<TType>()
where TType : class, IModelAnnotation
public:
generic<typename TType>
where TType : ref class, IModelAnnotation
virtual IList<TType>^ GetAnnotations() sealed
abstract GetAnnotations : unit -> IList<'TType>  when 'TType : not struct and IModelAnnotation
override GetAnnotations : unit -> IList<'TType>  when 'TType : not struct and IModelAnnotation
JScript 不支援泛型型別或方法。

型別參數

  • TType

傳回值

型別:System.Collections.Generic.IList<TType>

.NET Framework 安全性

請參閱

參考

ModelStore 類別

GetAnnotations 多載

Microsoft.Data.Schema.SchemaModel 命名空間