EdmCoreModel.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 Function FindDeclaredVocabularyAnnotations ( _
    element As IEdmVocabularyAnnotatable _
) As IEnumerable(Of IEdmVocabularyAnnotation)
'Usage
Dim instance As EdmCoreModel 
Dim element As IEdmVocabularyAnnotatable 
Dim returnValue As IEnumerable(Of IEdmVocabularyAnnotation)

returnValue = instance.FindDeclaredVocabularyAnnotations(element)
public IEnumerable<IEdmVocabularyAnnotation> FindDeclaredVocabularyAnnotations(
    IEdmVocabularyAnnotatable element
)
public:
virtual IEnumerable<IEdmVocabularyAnnotation^>^ FindDeclaredVocabularyAnnotations(
    IEdmVocabularyAnnotatable^ element
) sealed
abstract FindDeclaredVocabularyAnnotations : 
        element:IEdmVocabularyAnnotatable -> IEnumerable<IEdmVocabularyAnnotation> 
override FindDeclaredVocabularyAnnotations : 
        element:IEdmVocabularyAnnotatable -> IEnumerable<IEdmVocabularyAnnotation> 
public final function FindDeclaredVocabularyAnnotations(
    element : IEdmVocabularyAnnotatable
) : IEnumerable<IEdmVocabularyAnnotation>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<IEdmVocabularyAnnotation>
The vocabulary annotations for the element.

Implements

IEdmModel.FindDeclaredVocabularyAnnotations(IEdmVocabularyAnnotatable)

See Also

Reference

EdmCoreModel Class

Microsoft.Data.Edm.Library Namespace