ModelStore.GetAnnotations<TType> 方法 (ModelIdentifier)

傳回所有項目。

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

語法

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

型別參數

  • TType

參數

傳回值

型別:System.Collections.Generic.IList<TType>
模型項目清單。

.NET Framework 安全性

請參閱

參考

ModelStore 類別

GetAnnotations 多載

Microsoft.Data.Schema.SchemaModel 命名空間

ModelElementClass