Partager via


IModelAnnotationHolder.GetAnnotations, méthode (Type)

Retourne une liste d'annotations attachées du type donné.

Espace de noms :  Microsoft.Data.Schema.SchemaModel
Assembly :  Microsoft.Data.Schema (dans Microsoft.Data.Schema.dll)

Syntaxe

'Déclaration
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>

Paramètres

Valeur de retour

Type : System.Collections.Generic.IList<IModelAnnotation>
Liste contenant les annotations de modèle sélectionnées.

Sécurité .NET Framework

Voir aussi

Référence

IModelAnnotationHolder Interface

GetAnnotations, surcharge

Microsoft.Data.Schema.SchemaModel, espace de noms

IModelAnnotation