Share via


ModelStore.GetAnnotations<TType> Method (ModelIdentifier)

Returns all elements.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
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 does not support generic types or methods.

Type Parameters

  • TType

Parameters

Return Value

Type: System.Collections.Generic.IList<TType>
A list of model elements.

.NET Framework Security

See Also

Reference

ModelStore Class

GetAnnotations Overload

Microsoft.Data.Schema.SchemaModel Namespace

ModelElementClass