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
- identifier
Type: Microsoft.Data.Schema.SchemaModel.ModelIdentifier
A ModelIdentifier that identifies an element that is a child of the current element.
Return Value
Type: System.Collections.Generic.IList<IModelAnnotation>
An IList<T> object of type IModelAnnotation.
Implements
IModelAnnotationHolder.GetAnnotations(ModelIdentifier)
.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.