ModelStore.GetAllAnnotations<TType> 方法

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

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

語法

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

型別參數

傳回值

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

.NET Framework 安全性

請參閱

參考

ModelStore 類別

GetAllAnnotations 多載

Microsoft.Data.Schema.SchemaModel 命名空間

IModelAnnotation

ModelIdentifier