Notes
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
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
- identifier
Type : Microsoft.Data.Schema.SchemaModel.ModelIdentifier
ModelIdentifier .
- annotationType
Type : System.Type
Type qui est dérivé de IModelAnnotation.
Valeur de retour
Type : System.Collections.Generic.IList<IModelAnnotation>
Implémentations
IModelAnnotationHolder.GetAnnotations(ModelIdentifier, Type)
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.