ExtensionMethods.DirectValueAnnotations(IEdmModel, 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.
Gets the direct annotations for an element.
public static System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.Vocabularies.IEdmDirectValueAnnotation> DirectValueAnnotations (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.IEdmElement element);
static member DirectValueAnnotations : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.IEdmElement -> seq<Microsoft.OData.Edm.Vocabularies.IEdmDirectValueAnnotation>
<Extension()>
Public Function DirectValueAnnotations (model As IEdmModel, element As IEdmElement) As IEnumerable(Of IEdmDirectValueAnnotation)
Parameters
- model
- IEdmModel
The model containing the annotations.
- element
- IEdmElement
The annotated element.
Returns
The immediate annotations of the element.