Share via


ModelElement.GetAnnotations Method

Gets a list of annotations that have been added to this element.

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

Syntax

'Declaration
Public Function GetAnnotations As IList(Of IModelAnnotation)
public IList<IModelAnnotation> GetAnnotations()
public:
virtual IList<IModelAnnotation^>^ GetAnnotations() sealed
abstract GetAnnotations : unit -> IList<IModelAnnotation> 
override GetAnnotations : unit -> IList<IModelAnnotation> 
public final function GetAnnotations() : IList<IModelAnnotation>

Return Value

Type: System.Collections.Generic.IList<IModelAnnotation>
An IList<T> object of type IModelAnnotation.

Implements

IModelAnnotationHolder.GetAnnotations()

.NET Framework Security

See Also

Reference

ModelElement Class

GetAnnotations Overload

Microsoft.Data.Schema.SchemaModel Namespace

IModelAnnotation

GetAnnotations