XmlSurrogateSelectorAddSurrogate(XmlSerializationSurrogateForAttribute, IXmlSerializationSurrogate) Method |
Adds a surrogate for the type specified in the XmlSerializationForAttribute.
Namespace: Altaxo.Serialization.XmlAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public void AddSurrogate(
XmlSerializationSurrogateForAttribute attr,
IXmlSerializationSurrogate surrogate
)
Parameters
- attr XmlSerializationSurrogateForAttribute
- The attribute used to describe the type this surrogate is intended for.
- surrogate IXmlSerializationSurrogate
- The surrogate used to serialize/deserialize the type.
See Also