EdmModelBase.FindDeclaredVocabularyAnnotations Method
Searches for vocabulary annotations specified by this model or a referenced model for a given element.
Namespace: Microsoft.Data.Edm.Library
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Overridable Function FindDeclaredVocabularyAnnotations ( _
element As IEdmVocabularyAnnotatable _
) As IEnumerable(Of IEdmVocabularyAnnotation)
'Usage
Dim instance As EdmModelBase
Dim element As IEdmVocabularyAnnotatable
Dim returnValue As IEnumerable(Of IEdmVocabularyAnnotation)
returnValue = instance.FindDeclaredVocabularyAnnotations(element)
public virtual IEnumerable<IEdmVocabularyAnnotation> FindDeclaredVocabularyAnnotations(
IEdmVocabularyAnnotatable element
)
public:
virtual IEnumerable<IEdmVocabularyAnnotation^>^ FindDeclaredVocabularyAnnotations(
IEdmVocabularyAnnotatable^ element
)
abstract FindDeclaredVocabularyAnnotations :
element:IEdmVocabularyAnnotatable -> IEnumerable<IEdmVocabularyAnnotation>
override FindDeclaredVocabularyAnnotations :
element:IEdmVocabularyAnnotatable -> IEnumerable<IEdmVocabularyAnnotation>
public function FindDeclaredVocabularyAnnotations(
element : IEdmVocabularyAnnotatable
) : IEnumerable<IEdmVocabularyAnnotation>
Parameters
- element
Type: Microsoft.Data.Edm.IEdmVocabularyAnnotatable
The annotated element.
Return Value
Type: System.Collections.Generic.IEnumerable<IEdmVocabularyAnnotation>
The vocabulary annotations for the element.
Implements
IEdmModel.FindDeclaredVocabularyAnnotations(IEdmVocabularyAnnotatable)