XmlSurrogateSelectorAddSurrogate(Type, Int32, IXmlSerializationSurrogate) Method |
Adds a surrogate for the type
.
Namespace: Altaxo.Serialization.XmlAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public void AddSurrogate(
Type type,
int version,
IXmlSerializationSurrogate surrogate
)
Parameters
- type Type
- The type for which the surrogate is added.
- version Int32
- The version of the surrogate (higher version numbers mean more recent versions).
- surrogate IXmlSerializationSurrogate
- The surrogate used to serialize/deserialize the type.
See Also