ISerializationSurrogate ISerializationSurrogate ISerializationSurrogate ISerializationSurrogate Interface

定義

オブジェクトが別のオブジェクトのシリアル化および逆シリアル化を実行できるようにする、シリアル化サロゲート セレクターを実装します。Implements a serialization surrogate selector that allows one object to perform serialization and deserialization of another.

public interface class ISerializationSurrogate
[System.Runtime.InteropServices.ComVisible(true)]
public interface ISerializationSurrogate
type ISerializationSurrogate = interface
Public Interface ISerializationSurrogate
属性

メソッド

GetObjectData(Object, SerializationInfo, StreamingContext) GetObjectData(Object, SerializationInfo, StreamingContext) GetObjectData(Object, SerializationInfo, StreamingContext) GetObjectData(Object, SerializationInfo, StreamingContext)

SerializationInfo に、オブジェクトをシリアル化するために必要なデータを設定します。Populates the provided SerializationInfo with the data needed to serialize the object.

SetObjectData(Object, SerializationInfo, StreamingContext, ISurrogateSelector) SetObjectData(Object, SerializationInfo, StreamingContext, ISurrogateSelector) SetObjectData(Object, SerializationInfo, StreamingContext, ISurrogateSelector) SetObjectData(Object, SerializationInfo, StreamingContext, ISurrogateSelector)

SerializationInfo の情報を使用してオブジェクトを設定します。Populates the object using the information in the SerializationInfo.

適用対象