Partager via


ModelStore.CreateNamedAnnotation, méthode (Type, 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 ( _
    annotationType As Type, _
    identifier As ModelIdentifier _
) As IModelAnnotation
public IModelAnnotation CreateNamedAnnotation(
    Type annotationType,
    ModelIdentifier identifier
)
public:
IModelAnnotation^ CreateNamedAnnotation(
    Type^ annotationType, 
    ModelIdentifier^ identifier
)
member CreateNamedAnnotation : 
        annotationType:Type * 
        identifier:ModelIdentifier -> IModelAnnotation 
public function CreateNamedAnnotation(
    annotationType : Type, 
    identifier : ModelIdentifier
) : IModelAnnotation

Paramètres

Valeur de retour

Type : Microsoft.Data.Schema.SchemaModel.IModelAnnotation
Annotation de modèle.

Sécurité .NET Framework

Voir aussi

Référence

ModelStore Classe

CreateNamedAnnotation, surcharge

Microsoft.Data.Schema.SchemaModel, espace de noms

ModelIdentifier

IModelAnnotation