Método ModelStore.GetAnnotations (Type)

Retorna uma lista das anotações no modelo que implementa o tipo de dado.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (em Microsoft.Data.Schema.dll)

Sintaxe

'Declaração
Public Function GetAnnotations ( _
    annotationType As Type _
) As IList(Of IModelAnnotation)
public IList<IModelAnnotation> GetAnnotations(
    Type annotationType
)
public:
virtual IList<IModelAnnotation^>^ GetAnnotations(
    Type^ annotationType
) sealed
abstract GetAnnotations : 
        annotationType:Type -> IList<IModelAnnotation> 
override GetAnnotations : 
        annotationType:Type -> IList<IModelAnnotation> 
public final function GetAnnotations(
    annotationType : Type
) : IList<IModelAnnotation>

Parâmetros

Valor de retorno

Tipo: System.Collections.Generic.IList<IModelAnnotation>
Uma lista de anotações.

Implementações

IModelAnnotationHolder.GetAnnotations(Type)

Segurança do .NET Framework

Consulte também

Referência

ModelStore Classe

Sobrecargas GetAnnotations

Namespace Microsoft.Data.Schema.SchemaModel

IModelAnnotation