ISerializerSurrogateHandlerGetDataContractType Method

During serialization, deserialization, and schema import and export, returns a data contract type that substitutes the specified type.

Definition

Namespace: DHI.Mike1D.Generic
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
Type GetDataContractType(
	Type type
)

Parameters

type  Type
Type to substitute

Return Value

Type
Substitution type, must be serializable by the DataContractSerializer. Null if not handled by this handler

See Also