IModelAnnotationHolder.GetAnnotations<TType> Method (ModelStore.Identifier)

Returns all attached annotations that implement the given type and have the identifier as their name.

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

Syntax

'Declaration
Function GetAnnotations(Of TType As {Class, IModelAnnotation}) ( _
    identifier As ModelStore..::..Identifier _
) As IList(Of TType)
'Usage
Dim instance As IModelAnnotationHolder
Dim identifier As ModelStore..::..Identifier
Dim returnValue As IList(Of TType)

returnValue = instance.GetAnnotations(identifier)
IList<TType> GetAnnotations<TType>(
    ModelStore..::..Identifier identifier
)
where TType : class, IModelAnnotation
generic<typename TType>
where TType : ref class, IModelAnnotation
IList<TType>^ GetAnnotations(
    ModelStore..::..Identifier^ identifier
)
JScript does not support generic types or methods.
abstract GetAnnotations : 
        identifier:ModelStore..::..Identifier -> IList<'TType>  when 'TType : not struct and IModelAnnotation

Type Parameters

  • TType

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

IModelAnnotationHolder Interface

IModelAnnotationHolder Members

GetAnnotations<TType> Overload

Microsoft.Data.Schema.SchemaModel Namespace