Compartir a través de


IModelAnnotationHolder.GetAnnotations<TType> (Método)

Devuelve todas las anotaciones adjuntas que implementan el tipo de anotación especificado y tienen el identificador del modelo indicado.

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

Sintaxis

'Declaración
Function GetAnnotations(Of TType As {Class, IModelAnnotation}) As IList(Of TType)
IList<TType> GetAnnotations<TType>()
where TType : class, IModelAnnotation
generic<typename TType>
where TType : ref class, IModelAnnotation
IList<TType>^ GetAnnotations()
abstract GetAnnotations : unit -> IList<'TType>  when 'TType : not struct and IModelAnnotation
JScript no admite el uso de métodos ni tipos genéricos.

Parámetros de tipo

Valor devuelto

Tipo: System.Collections.Generic.IList<TType>
Lista que contiene las anotaciones del modelo seleccionadas.

Seguridad de .NET Framework

Vea también

Referencia

IModelAnnotationHolder Interfaz

GetAnnotations (Sobrecarga)

Microsoft.Data.Schema.SchemaModel (Espacio de nombres)

IModelAnnotation