Share via


ModelStore.GetAllAnnotations<TType> Method (ModelIdentifier)

Returns all annotations that implement the given type.

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

Syntax

'Declaration
Public Function GetAllAnnotations(Of TType As {Class, IModelAnnotation}) ( _
    identifier As ModelIdentifier _
) As IList(Of TType)
public IList<TType> GetAllAnnotations<TType>(
    ModelIdentifier identifier
)
where TType : class, IModelAnnotation
public:
generic<typename TType>
where TType : ref class, IModelAnnotation
IList<TType>^ GetAllAnnotations(
    ModelIdentifier^ identifier
)
member GetAllAnnotations : 
        identifier:ModelIdentifier -> IList<'TType>  when 'TType : not struct and IModelAnnotation
JScript does not support generic types or methods.

Type Parameters

Parameters

Return Value

Type: System.Collections.Generic.IList<TType>

.NET Framework Security

See Also

Reference

ModelStore Class

GetAllAnnotations Overload

Microsoft.Data.Schema.SchemaModel Namespace

IModelAnnotation