ExtensionMethods.VocabularyAnnotations 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 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.