Partilhar via


Método DataSchemaModel.Serialize (TextWriter, IEnumerable<Type>, Boolean)

Grava o modelo de esquema de dados de saída especificado.

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

Sintaxe

'Declaração
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
)

Parâmetros

  • includePositions
    Tipo: System.Boolean
    Indica se devem ser serializadas posições com o modelo.

Segurança do .NET Framework

Consulte também

Referência

DataSchemaModel Classe

Sobrecargas Serialize

Namespace Microsoft.Data.Schema.SchemaModel