ExtensionMethods.FindVocabularyAnnotationsIncludingInheritedAnnotations Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.