EdmDirectValueAnnotationsManager.GetAttachedAnnotations(IEdmElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).