Delen via


ExtensionMethods.GetAnnotationValues Method

Definition

Retrieves a set of annotation values. For each requested value, returns null if no annotation with the given name exists for the given element.

public static object[] GetAnnotationValues (this Microsoft.OData.Edm.IEdmModel model, System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.Vocabularies.IEdmDirectValueAnnotationBinding> annotations);
static member GetAnnotationValues : Microsoft.OData.Edm.IEdmModel * seq<Microsoft.OData.Edm.Vocabularies.IEdmDirectValueAnnotationBinding> -> obj[]
<Extension()>
Public Function GetAnnotationValues (model As IEdmModel, annotations As IEnumerable(Of IEdmDirectValueAnnotationBinding)) As Object()

Parameters

model
IEdmModel

The model in which to find the annotations.

annotations
IEnumerable<IEdmDirectValueAnnotationBinding>

The set of requested annotations.

Returns

Object[]

Returns values that correspond to the provided annotations. A value is null if no annotation with the given name exists for the given element.

Applies to