Freigeben über


ExtensionMethods.VocabularyAnnotations Methode

Definition

Ruft die Vokabularanmerkungen eines anmerkungsfähigen Elements aus der Sicht eines bestimmten Modells ab.

public static System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation> VocabularyAnnotations (this Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable element, Microsoft.OData.Edm.IEdmModel model);
static member VocabularyAnnotations : Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable * Microsoft.OData.Edm.IEdmModel -> seq<Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation>
<Extension()>
Public Function VocabularyAnnotations (element As IEdmVocabularyAnnotatable, model As IEdmModel) As IEnumerable(Of IEdmVocabularyAnnotation)

Parameter

element
IEdmVocabularyAnnotatable

Verweis auf das aufrufende Objekt.

model
IEdmModel

Modell, um nach Anmerkungen zu suchen.

Gibt zurück

Anmerkungen, die dem Element durch das Modell oder durch Modelle angefügt werden, auf die vom Modell verwiesen wird.

Gilt für: