Freigeben über


ExtensionMethods.FindVocabularyAnnotations-Methode (IEdmModel, IEdmVocabularyAnnotatable)

Ruft die Vokabularanmerkungen eines anmerkungsfähigen Elements ab, die in einem bestimmten Modell und in Modellen, auf die von diesem Modell verwiesen wird, definiert sind.

Namespace:  Microsoft.Data.Edm
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function FindVocabularyAnnotations ( _
    model As IEdmModel, _
    element As IEdmVocabularyAnnotatable _
) As IEnumerable(Of IEdmVocabularyAnnotation)
'Usage
Dim model As IEdmModel
Dim element As IEdmVocabularyAnnotatable
Dim returnValue As IEnumerable(Of IEdmVocabularyAnnotation)

returnValue = model.FindVocabularyAnnotations(element)
public static IEnumerable<IEdmVocabularyAnnotation> FindVocabularyAnnotations(
    this IEdmModel model,
    IEdmVocabularyAnnotatable element
)
[ExtensionAttribute]
public:
static IEnumerable<IEdmVocabularyAnnotation^>^ FindVocabularyAnnotations(
    IEdmModel^ model, 
    IEdmVocabularyAnnotatable^ element
)
static member FindVocabularyAnnotations : 
        model:IEdmModel * 
        element:IEdmVocabularyAnnotatable -> IEnumerable<IEdmVocabularyAnnotation> 
public static function FindVocabularyAnnotations(
    model : IEdmModel, 
    element : IEdmVocabularyAnnotatable
) : IEnumerable<IEdmVocabularyAnnotation>

Parameter

Rückgabewert

Typ: System.Collections.Generic.IEnumerable<IEdmVocabularyAnnotation>
Die Anmerkungen, die an das Element von diesem Modell oder von Modellen, auf die von diesem Modell verwiesen wird, angefügt wurden.

Hinweis zur Verwendung

In Visual Basic und C# können Sie die Methode als Instanzenmethode für jedes Objekt vom Typ IEdmModel aufrufen. Wenn Sie Instanzmethodensyntax zum Aufruf dieser Methode verwenden, vernachlässigen Sie den ersten Parameter. Weitere Informationen finden Sie unter https://msdn.microsoft.com/de-de/library/bb384936(v=vs.103) oder https://msdn.microsoft.com/de-de/library/bb383977(v=vs.103).

Siehe auch

Verweis

ExtensionMethods Klasse

FindVocabularyAnnotations-Überladung

Microsoft.Data.Edm-Namespace