Condividi tramite


Metodo ExtensionMethods.FindVocabularyAnnotations (IEdmModel, IEdmVocabularyAnnotatable)

Ottiene le annotazioni del vocabolario di un elemento annotabile definite in un modello specifico e i modelli cui tale modello fa riferimento.

Spazio dei nomi  Microsoft.Data.Edm
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Sintassi

'Dichiarazione
<ExtensionAttribute> _
Public Shared Function FindVocabularyAnnotations ( _
    model As IEdmModel, _
    element As IEdmVocabularyAnnotatable _
) As IEnumerable(Of IEdmVocabularyAnnotation)
'Utilizzo
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>

Parametri

Valore restituito

Tipo: System.Collections.Generic.IEnumerable<IEdmVocabularyAnnotation>
Annotazioni collegate all'elemento dal modello o dai modelli cui tale modello fa riferimento.

Nota sull'utilizzo

In Visual Basic e C# questo metodo può essere chiamato come metodo di istanza su qualsiasi oggetto di tipo IEdmModel. Quando si utilizza la sintassi del metodo di istanza per chiamare questo metodo, omettere il primo parametro. Per ulteriori informazioni, vedere https://msdn.microsoft.com/it-it/library/bb384936(v=vs.103) o https://msdn.microsoft.com/it-it/library/bb383977(v=vs.103).

Vedere anche

Riferimento

ExtensionMethods Classe

Overload FindVocabularyAnnotations

Spazio dei nomi Microsoft.Data.Edm