Formatter.Serialize(Stream, Object) メソッド
定義
派生クラスでオーバーライドされた場合、フォーマッタに既に結び付けられているストリームに、指定したルートのオブジェクトのグラフをシリアル化します。When overridden in a derived class, serializes the graph of objects with the specified root to the stream already attached to the formatter.
public:
abstract void Serialize(System::IO::Stream ^ serializationStream, System::Object ^ graph);
public abstract void Serialize (System.IO.Stream serializationStream, object graph);
abstract member Serialize : System.IO.Stream * obj -> unit
Public MustOverride Sub Serialize (serializationStream As Stream, graph As Object)
パラメーター
- serializationStream
- Stream
オブジェクトのシリアル化先のストリーム。The stream to which the objects are serialized.
- graph
- Object
シリアル化するグラフのルートにあるオブジェクト。The object at the root of the graph to serialize.
実装
注意 (実装者)
このメソッドは、派生クラスで実装する必要があります。You must implement this method in a derived class.