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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.