Share via


IModelAnnotationHolder.GetAnnotations Method (Type)

Returns a list of attached annotations of the given type.

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

Syntax

'Declaration
Function GetAnnotations ( _
    annotationType As Type _
) As IList(Of IModelAnnotation)
IList<IModelAnnotation> GetAnnotations(
    Type annotationType
)
IList<IModelAnnotation^>^ GetAnnotations(
    Type^ annotationType
)
abstract GetAnnotations : 
        annotationType:Type -> IList<IModelAnnotation> 
function GetAnnotations(
    annotationType : Type
) : IList<IModelAnnotation>

Parameters

Return Value

Type: System.Collections.Generic.IList<IModelAnnotation>
A list containing the selected model annotations.

.NET Framework Security

See Also

Reference

IModelAnnotationHolder Interface

GetAnnotations Overload

Microsoft.Data.Schema.SchemaModel Namespace

IModelAnnotation