Compartir a través de


IModelAnnotationHolder.GetAnnotations (Método) (Type)

Devuelve una lista de anotaciones adjuntas del tipo especificado.

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

Sintaxis

'Declaración
Function GetAnnotations ( _
    annotationType As Type _
) As IList(Of IModelAnnotation)
IList<IModelAnnotation> GetAnnotations(
    Type annotationType
)
IList<IModelAnnotation^>^ GetAnnotations(
    Type^ annotationType
)
abstract GetAnnotations : 
        annotationType:Type -> IList<IModelAnnotation> 
function GetAnnotations(
    annotationType : Type
) : IList<IModelAnnotation>

Parámetros

Valor devuelto

Tipo: System.Collections.Generic.IList<IModelAnnotation>
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