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
- annotationType
Type : System.Type
AType dontthis est dérivé
- identifier
Type : Microsoft.Data.Schema.SchemaModel.ModelIdentifier
ModelIdentifier qui contient le nom de l'annotation.
Valeur de retour
Type : Microsoft.Data.Schema.SchemaModel.IModelAnnotation
Annotation de modèle.
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
CreateNamedAnnotation, surcharge