ModelStore.GetAllAnnotations<TType> (Método)
Devuelve una lista de las anotaciones del modelo que implementa el tipo especificado.
Espacio de nombres: Microsoft.Data.Schema.SchemaModel
Ensamblado: Microsoft.Data.Schema (en Microsoft.Data.Schema.dll)
Sintaxis
'Declaración
Public Function GetAllAnnotations(Of TType As {Class, IModelAnnotation}) As IList(Of TType)
public IList<TType> GetAllAnnotations<TType>()
where TType : class, IModelAnnotation
public:
generic<typename TType>
where TType : ref class, IModelAnnotation
IList<TType>^ GetAllAnnotations()
member GetAllAnnotations : 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
- TType
Un objeto Type que se deriva de IModelAnnotation.
Valor devuelto
Tipo: System.Collections.Generic.IList<TType>
Una lista de anotaciones.
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.
Vea también
Referencia
GetAllAnnotations (Sobrecarga)