EdmDirectValueAnnotationsManager.GetAttachedAnnotations Method
Retrieves the annotations that are directly attached to an element.
Namespace: Microsoft.Data.Edm.Library.Annotations
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Protected Overridable Function GetAttachedAnnotations ( _
element As IEdmElement _
) As IEnumerable(Of IEdmDirectValueAnnotation)
'Usage
Dim element As IEdmElement
Dim returnValue As IEnumerable(Of IEdmDirectValueAnnotation)
returnValue = Me.GetAttachedAnnotations(element)
protected virtual IEnumerable<IEdmDirectValueAnnotation> GetAttachedAnnotations(
IEdmElement element
)
protected:
virtual IEnumerable<IEdmDirectValueAnnotation^>^ GetAttachedAnnotations(
IEdmElement^ element
)
abstract GetAttachedAnnotations :
element:IEdmElement -> IEnumerable<IEdmDirectValueAnnotation>
override GetAttachedAnnotations :
element:IEdmElement -> IEnumerable<IEdmDirectValueAnnotation>
protected function GetAttachedAnnotations(
element : IEdmElement
) : IEnumerable<IEdmDirectValueAnnotation>
Parameters
- element
Type: Microsoft.Data.Edm.IEdmElement
The element in question.
Return Value
Type: System.Collections.Generic.IEnumerable<IEdmDirectValueAnnotation>
The annotations that are directly attached to an element (outside the control of the manager).