ModelElement.GetAnnotations<TType> (Método)

Obtiene una lista de anotaciones del tipo proporcionado que se adjuntan al elemento actual.

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

Sintaxis

'Declaración
Public Function GetAnnotations(Of TType As {Class, IModelAnnotation}) As IList(Of TType)
public IList<TType> GetAnnotations<TType>()
where TType : class, IModelAnnotation
public:
generic<typename TType>
where TType : ref class, IModelAnnotation
virtual IList<TType>^ GetAnnotations() sealed
abstract GetAnnotations : unit -> IList<'TType>  when 'TType : not struct and IModelAnnotation
override 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>
Una interfaz IList<T> que contiene anotaciones cuyo tipo coincide con el parámetro genérico TType proporcionado.

Seguridad de .NET Framework

Vea también

Referencia

ModelElement Clase

GetAnnotations (Sobrecarga)

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

IModelAnnotation