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


DataSchemaModel.Serialize - метод (TextWriter, IEnumerable<Type>, Boolean)

Записывает модель схемы данных в указанный выходной объект.

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

Синтаксис

'Декларация
Public Sub Serialize ( _
    output As TextWriter, _
    annotationTypesToInclude As IEnumerable(Of Type), _
    includePositions As Boolean _
)
public void Serialize(
    TextWriter output,
    IEnumerable<Type> annotationTypesToInclude,
    bool includePositions
)
public:
void Serialize(
    TextWriter^ output, 
    IEnumerable<Type^>^ annotationTypesToInclude, 
    bool includePositions
)
member Serialize : 
        output:TextWriter * 
        annotationTypesToInclude:IEnumerable<Type> * 
        includePositions:bool -> unit 
public function Serialize(
    output : TextWriter, 
    annotationTypesToInclude : IEnumerable<Type>, 
    includePositions : boolean
)

Параметры

  • annotationTypesToInclude
    Тип: System.Collections.Generic.IEnumerable<Type>
    Список типов заметок, которые должны включаться при сериализации модели.
  • includePositions
    Тип: System.Boolean
    Указывает, должны ли сериализоваться позиции с моделью.

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

См. также

Ссылки

DataSchemaModel Класс

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

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