Share via


IModelAnnotationHolder.GetAnnotations<TType> Method

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}) As IList(Of TType)
'Usage
Dim instance As IModelAnnotationHolder 
Dim returnValue As IList(Of TType)

returnValue = instance.GetAnnotations()
IList<TType> GetAnnotations<TType>()
where TType : class, IModelAnnotation
generic<typename TType>
where TType : ref class, IModelAnnotation 
IList<TType>^ GetAnnotations()
JScript does not support generic types or methods.

Type Parameters

  • TType

Return Value

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

.NET Framework Security

See Also

Reference

IModelAnnotationHolder Interface

IModelAnnotationHolder Members

GetAnnotations Overload

Microsoft.Data.Schema.SchemaModel Namespace