共用方式為


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
)

參數

  • includePositions
    型別:System.Boolean
    表示是否應利用模型序列化位置。

.NET Framework 安全性

請參閱

參考

DataSchemaModel 類別

Serialize 多載

Microsoft.Data.Schema.SchemaModel 命名空間