ModelXmlSerializer.SerializeDataSchemaModel Method (DataSchemaModel, XmlWriter, IEnumerable<Type>)

Serializes the data schema model.

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

Syntax

'Declaration
Public Shared Sub SerializeDataSchemaModel ( _
    dataSchemaModel As DataSchemaModel, _
    writer As XmlWriter, _
    annotationTypesToInclude As IEnumerable(Of Type) _
)
'Usage
Dim dataSchemaModel As DataSchemaModel
Dim writer As XmlWriter
Dim annotationTypesToInclude As IEnumerable(Of Type)

ModelXmlSerializer.SerializeDataSchemaModel(dataSchemaModel, _
    writer, annotationTypesToInclude)
public static void SerializeDataSchemaModel(
    DataSchemaModel dataSchemaModel,
    XmlWriter writer,
    IEnumerable<Type> annotationTypesToInclude
)
public:
static void SerializeDataSchemaModel(
    DataSchemaModel^ dataSchemaModel, 
    XmlWriter^ writer, 
    IEnumerable<Type^>^ annotationTypesToInclude
)
public static function SerializeDataSchemaModel(
    dataSchemaModel : DataSchemaModel, 
    writer : XmlWriter, 
    annotationTypesToInclude : IEnumerable<Type>
)
static member SerializeDataSchemaModel : 
        dataSchemaModel:DataSchemaModel * 
        writer:XmlWriter * 
        annotationTypesToInclude:IEnumerable<Type> -> unit 

Parameters

.NET Framework Security

See Also

Reference

ModelXmlSerializer Class

ModelXmlSerializer Members

SerializeDataSchemaModel Overload

Microsoft.Data.Schema.SchemaModel Namespace