Partager via


ExtensionMethods.DirectValueAnnotations(IEdmModel, IEdmElement) Méthode

Définition

Obtient les annotations directes d’un élément.

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)

Paramètres

model
IEdmModel

Modèle contenant les annotations.

element
IEdmElement

Élément annoté.

Retours

Annotations immédiates de l’élément.

S’applique à