ISerializationSurrogate Schnittstelle
Definition
Implementiert einen Selektor für einen Serialisierungsersatz, mit dem ein Objekt ein anderes Objekt serialisieren und deserialisieren kann.Implements a serialization surrogate selector that allows one object to perform serialization and deserialization of another.
public interface class ISerializationSurrogate
public interface ISerializationSurrogate
[System.Runtime.InteropServices.ComVisible(true)]
public interface ISerializationSurrogate
type ISerializationSurrogate = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type ISerializationSurrogate = interface
Public Interface ISerializationSurrogate
- Attribute
Methoden
GetObjectData(Object, SerializationInfo, StreamingContext) |
Füllt die angegebene SerializationInfo mit den zum Serialisieren des Objekts erforderlichen Daten.Populates the provided SerializationInfo with the data needed to serialize the object. |
SetObjectData(Object, SerializationInfo, StreamingContext, ISurrogateSelector) |
Füllt das Objekt mithilfe der Informationen in der SerializationInfo.Populates the object using the information in the SerializationInfo. |