DirectValueAnnotations Method
WCF Data Services 5.0
Gets the direct value annotations for an element.
Namespace: Microsoft.Data.Edm
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
public static IEnumerable<IEdmDirectValueAnnotation> DirectValueAnnotations( this IEdmModel model, IEdmElement element )
Parameters
- model
- Type: Microsoft.Data.Edm..::..IEdmModel
The model containing the annotations.
- element
- Type: Microsoft.Data.Edm..::..IEdmElement
The annotated element.
Return Value
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'IEdmDirectValueAnnotation>)>)>The immediate value annotations of the element.