Compartir a través de


ExtensionMethods.FindVocabularyAnnotationsIncludingInheritedAnnotations Método

Obtiene las anotaciones de vocabulario de un elemento Annotatable definidas en un modelo concreto y los modelos a los que dicho modelo hace referencia.

Espacio de nombres:  Microsoft.Data.Edm
Ensamblado:  Microsoft.Data.Edm (en Microsoft.Data.Edm.dll)

Sintaxis

'Declaración
<ExtensionAttribute> _
Public Shared Function FindVocabularyAnnotationsIncludingInheritedAnnotations ( _
    model As IEdmModel, _
    element As IEdmVocabularyAnnotatable _
) As IEnumerable(Of IEdmVocabularyAnnotation)
'Uso
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>

Parámetros

Valor devuelto

Tipo: System.Collections.Generic.IEnumerable<IEdmVocabularyAnnotation>
Anotaciones adjuntas al elemento (o si el elemento es un tipo, a sus tipos base) por este modelo o por modelos a los que hace referencia este modelo.

Nota de uso

En Visual Basic y C#, puede llamar a este método como un método de instancia en cualquier objeto del tipo IEdmModel. Cuando utilice la sintaxis del método de instancia para llamar a este método, sáltese este parámetro primero. Para obtener más información, vea https://msdn.microsoft.com/es-es/library/bb384936(v=vs.103) o https://msdn.microsoft.com/es-es/library/bb383977(v=vs.103).

Vea también

Referencia

ExtensionMethods Clase

Espacio de nombres Microsoft.Data.Edm