Share via


ModelStore.CreateNamedAnnotation Method (ModelAnnotationClass, ModelIdentifier)

Creates a named ModelAnnotation object by using the provided annotation metadata object and identifier.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Function CreateNamedAnnotation ( _
    annotationClass As ModelAnnotationClass, _
    identifier As ModelIdentifier _
) As IModelAnnotation
public IModelAnnotation CreateNamedAnnotation(
    ModelAnnotationClass annotationClass,
    ModelIdentifier identifier
)
public:
IModelAnnotation^ CreateNamedAnnotation(
    ModelAnnotationClass^ annotationClass, 
    ModelIdentifier^ identifier
)
member CreateNamedAnnotation : 
        annotationClass:ModelAnnotationClass * 
        identifier:ModelIdentifier -> IModelAnnotation 
public function CreateNamedAnnotation(
    annotationClass : ModelAnnotationClass, 
    identifier : ModelIdentifier
) : IModelAnnotation

Parameters

Return Value

Type: Microsoft.Data.Schema.SchemaModel.IModelAnnotation
A named model annotation.

.NET Framework Security

See Also

Reference

ModelStore Class

CreateNamedAnnotation Overload

Microsoft.Data.Schema.SchemaModel Namespace

ModelAnnotationClass

ModelIdentifier

IModelAnnotation