Click or drag to resize

XmlSurrogateSelectorAddSurrogate(Type, Int32, IXmlSerializationSurrogate) Method

Adds a surrogate for the type
C#
type
.

Namespace: Altaxo.Serialization.Xml
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
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