ModelStore.Element.GetAnnotations Method (Type)

Returns all attached annotations that implement the given type.

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

Syntax

'Declaration
Public Function GetAnnotations ( _
    annotationType As Type _
) As IList(Of IModelAnnotation)
'Usage
Dim instance As ModelStore..::..Element
Dim annotationType As Type
Dim returnValue As IList(Of IModelAnnotation)

returnValue = instance.GetAnnotations(annotationType)
public IList<IModelAnnotation> GetAnnotations(
    Type annotationType
)
public:
virtual IList<IModelAnnotation^>^ GetAnnotations(
    Type^ annotationType
) sealed
public final function GetAnnotations(
    annotationType : Type
) : IList<IModelAnnotation>
abstract GetAnnotations : 
        annotationType:Type -> IList<IModelAnnotation> 
override GetAnnotations : 
        annotationType:Type -> IList<IModelAnnotation> 

Parameters

Return Value

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

Implements

IModelAnnotationHolder.GetAnnotations(Type)

.NET Framework Security

See Also

Reference

ModelStore.Element Class

ModelStore.Element Members

GetAnnotations Overload

Microsoft.Data.Schema.SchemaModel Namespace