Share via


ExtensionMethods.VocabularyAnnotations Method

Definition

Gets an annotatable element's vocabulary annotations as seen from a particular model.

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)

Parameters

element
IEdmVocabularyAnnotatable

Reference to the calling object.

model
IEdmModel

Model to check for annotations.

Returns

Annotations attached to the element by the model or by models referenced by the model.

Applies to