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
- annotationType
Type : System.Type
Spécifie le type IModelAnnotation.
Valeur de retour
Type : System.Collections.Generic.IList<IModelAnnotation>
Liste contenant les annotations de modèle sélectionnées.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.
Voir aussi
Référence
IModelAnnotationHolder Interface