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
- annotationType
Tipo: System.Type
Especifica el tipo IModelAnnotation.
Valor devuelto
Tipo: System.Collections.Generic.IList<IModelAnnotation>
Lista que contiene las anotaciones del modelo seleccionadas.
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
IModelAnnotationHolder Interfaz