Freigeben über


ExtensionMethods.FindVocabularyAnnotationsIncludingInheritedAnnotations-Methode

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 FindVocabularyAnnotationsIncludingInheritedAnnotations ( _
    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.FindVocabularyAnnotationsIncludingInheritedAnnotations(element)
public static IEnumerable<IEdmVocabularyAnnotation> FindVocabularyAnnotationsIncludingInheritedAnnotations(
    this IEdmModel model,
    IEdmVocabularyAnnotatable element
)
[ExtensionAttribute]
public:
static IEnumerable<IEdmVocabularyAnnotation^>^ FindVocabularyAnnotationsIncludingInheritedAnnotations(
    IEdmModel^ model, 
    IEdmVocabularyAnnotatable^ element
)
static member FindVocabularyAnnotationsIncludingInheritedAnnotations : 
        model:IEdmModel * 
        element:IEdmVocabularyAnnotatable -> IEnumerable<IEdmVocabularyAnnotation> 
public static function FindVocabularyAnnotationsIncludingInheritedAnnotations(
    model : IEdmModel, 
    element : IEdmVocabularyAnnotatable
) : IEnumerable<IEdmVocabularyAnnotation>

Parameter

Rückgabewert

Typ: System.Collections.Generic.IEnumerable<IEdmVocabularyAnnotation>
Die Anmerkungen, die an das Element (oder, wenn das Element ein Typ ist, an seine Basistypen) von diesem Modell von durch dieses Modell referenzierten Modellen 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

Microsoft.Data.Edm-Namespace