Share via


ExtensionMethods.DirectValueAnnotations(IEdmModel, IEdmElement) Method

Definition

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.

Applies to