Partager via


ModelStore.GetAnnotations, méthode (ModelIdentifier, Type)

Retourne toutes les annotations qui ont le nom d'identificateur donné et qui implémentent le type donné.

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

Syntaxe

'Déclaration
Public Function GetAnnotations ( _
    identifier As ModelIdentifier, _
    annotationType As Type _
) As IList(Of IModelAnnotation)
public IList<IModelAnnotation> GetAnnotations(
    ModelIdentifier identifier,
    Type annotationType
)
public:
virtual IList<IModelAnnotation^>^ GetAnnotations(
    ModelIdentifier^ identifier, 
    Type^ annotationType
) sealed
abstract GetAnnotations : 
        identifier:ModelIdentifier * 
        annotationType:Type -> IList<IModelAnnotation> 
override GetAnnotations : 
        identifier:ModelIdentifier * 
        annotationType:Type -> IList<IModelAnnotation> 
public final function GetAnnotations(
    identifier : ModelIdentifier, 
    annotationType : Type
) : IList<IModelAnnotation>

Paramètres

Valeur de retour

Type : System.Collections.Generic.IList<IModelAnnotation>

Implémentations

IModelAnnotationHolder.GetAnnotations(ModelIdentifier, Type)

Sécurité .NET Framework

Voir aussi

Référence

ModelStore Classe

GetAnnotations, surcharge

Microsoft.Data.Schema.SchemaModel, espace de noms

IModelAnnotation