Поделиться через


ModelStore.CreateNamedAnnotation Method (Type, 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 ( _
    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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ModelStore Class

CreateNamedAnnotation Overload

Microsoft.Data.Schema.SchemaModel Namespace

ModelIdentifier

IModelAnnotation