Share via


ModelElement.GetAnnotations Method

Include Protected Members
Include Inherited Members

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method GetAnnotations<TType>() Gets a list of annotations of the provided type that are attached to the current element.
Public method GetAnnotations() Gets a list of annotations that have been added to this element.
Public method GetAnnotations(Type) Gets a list of annotations of the specified type that have been added to this element.
Public method GetAnnotations(ModelIdentifier) Gets a list of annotations that have been added to the specified element, which is a child element of the current element.
Public method GetAnnotations<TType>(ModelIdentifier) Gets a list of annotations that are attached to the specified element and whose type matches the provided Type.
Public method GetAnnotations(ModelIdentifier, Type) Gets a list of annotations of the specified type that have been added to the specified element that is a child of the current element.

Top

See Also

Reference

ModelElement Class

Microsoft.Data.Schema.SchemaModel Namespace