Share via


EdmDirectValueAnnotationsManager.GetAttachedAnnotations(IEdmElement) Method

Definition

Retrieves the annotations that are directly attached to an element.

protected virtual System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.Vocabularies.IEdmDirectValueAnnotation> GetAttachedAnnotations (Microsoft.OData.Edm.IEdmElement element);
abstract member GetAttachedAnnotations : Microsoft.OData.Edm.IEdmElement -> seq<Microsoft.OData.Edm.Vocabularies.IEdmDirectValueAnnotation>
override this.GetAttachedAnnotations : Microsoft.OData.Edm.IEdmElement -> seq<Microsoft.OData.Edm.Vocabularies.IEdmDirectValueAnnotation>
Protected Overridable Function GetAttachedAnnotations (element As IEdmElement) As IEnumerable(Of IEdmDirectValueAnnotation)

Parameters

element
IEdmElement

The element in question.

Returns

The annotations that are directly attached to an element (outside the control of the manager).

Applies to