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


ModelStore.CreateNamedAnnotation - метод (Type, ModelIdentifier)

Создает именованный объект ModelAnnotation, используя предоставленный идентификатор модели.

Пространство имен:  Microsoft.Data.Schema.SchemaModel
Сборка:  Microsoft.Data.Schema (в Microsoft.Data.Schema.dll)

Синтаксис

'Декларация
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

Параметры

  • annotationType
    Тип: System.Type
    A Type из которых this является производным

Возвращаемое значение

Тип: Microsoft.Data.Schema.SchemaModel.IModelAnnotation
Заметка модели.

Безопасность платформы .NET Framework

См. также

Ссылки

ModelStore Класс

CreateNamedAnnotation - перегрузка

Microsoft.Data.Schema.SchemaModel - пространство имен

ModelIdentifier

IModelAnnotation