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


DataSchemaModel.Serialize Method (TextWriter, IEnumerable<Type>, Boolean)

Writes the data schema model to the specified output.

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

Syntax

'Declaration
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
)

Parameters

  • includePositions
    Type: System.Boolean
    Indicates whether positions should be serialized with the model.

.NET Framework Security

See Also

Reference

DataSchemaModel Class

Serialize Overload

Microsoft.Data.Schema.SchemaModel Namespace