Share via


ExtensionMethods.FindVocabularyAnnotationsIncludingInheritedAnnotations Method

Definition

Gets an annotatable element's vocabulary annotations defined in a specific model and models referenced by that model.

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

Parameters

model
IEdmModel

The model to search.

element
IEdmVocabularyAnnotatable

Element to check for annotations.

Returns

Annotations attached to the element (or, if the element is a type, to its base types) by this model or by models referenced by this model.

Applies to