ModelElement.GetAnnotations Method (ModelIdentifier)

Gets a list of annotations that have been added to the specified element, which is a child element of the current element.

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

Syntax

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

Parameters

Return Value

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

Implements

IModelAnnotationHolder.GetAnnotations(ModelIdentifier)

.NET Framework Security

See Also

Reference

ModelElement Class

GetAnnotations Overload

Microsoft.Data.Schema.SchemaModel Namespace

IModelAnnotation

GetAnnotations