Click or drag to resize

XmlSurrogateSelectorAddSurrogate(String, String, Int32, IXmlSerializationSurrogate) Method

Adds a surrogate for the type specified by assembly name, full type name, and version.

Namespace: Altaxo.Serialization.Xml
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public void AddSurrogate(
	string assemblyname,
	string typename,
	int version,
	IXmlSerializationSurrogate surrogate
)

Parameters

assemblyname  String
The short name of the assembly.
typename  String
The fully qualified type name.
version  Int32
The version.
surrogate  IXmlSerializationSurrogate
The surrogate which is responsible to deserialize the type.
See Also