Partager via


ModelStore.CreateNamedAnnotation<TAnnotation>, méthode (ModelIdentifier)

Crée un objet ModelAnnotation nommé à l'aide de l'identificateur de modèle fourni.

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

Syntaxe

'Déclaration
Public Function CreateNamedAnnotation(Of TAnnotation As IModelAnnotation) ( _
    identifier As ModelIdentifier _
) As TAnnotation
public TAnnotation CreateNamedAnnotation<TAnnotation>(
    ModelIdentifier identifier
)
where TAnnotation : IModelAnnotation
public:
generic<typename TAnnotation>
where TAnnotation : IModelAnnotation
TAnnotation CreateNamedAnnotation(
    ModelIdentifier^ identifier
)
member CreateNamedAnnotation : 
        identifier:ModelIdentifier -> 'TAnnotation  when 'TAnnotation : IModelAnnotation
JScript ne prend pas en charge les types ou les méthodes génériques.

Paramètres de type

Paramètres

Valeur de retour

Type : TAnnotation
Annotation de modèle nommée.

Sécurité .NET Framework

Voir aussi

Référence

ModelStore Classe

CreateNamedAnnotation, surcharge

Microsoft.Data.Schema.SchemaModel, espace de noms

ModelIdentifier