ModelStore.CreateNamedAnnotation<TAnnotation> Method (ModelIdentifier)

Creates a named ModelAnnotation object by using the provided model identifier.

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

Syntax

'Declaration
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 does not support generic types or methods.

Type Parameters

Parameters

Return Value

Type: TAnnotation
A named model annotation.

.NET Framework Security

See Also

Reference

ModelStore Class

CreateNamedAnnotation Overload

Microsoft.Data.Schema.SchemaModel Namespace

ModelIdentifier