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
- output
Type: System.IO.TextWriter
The TextWriter to which the model should be serialized.
- annotationTypesToInclude
Type: System.Collections.Generic.IEnumerable<Type>
A list of the types of annotations that should be included when the model is serialized.
- includePositions
Type: System.Boolean
Indicates whether positions should be serialized with the model.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.