Click or drag to resize

SerializerSurrogateFilePathGetDataContractType Method

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

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

Parameters

type
Type: SystemType
The CLR type Type to substitute.

Return Value

Type: Type
The Type to substitute for the type value. This type must be serializable by the DataContractSerializer. For example, it must be marked with the DataContractAttribute attribute or other mechanisms that the serializer recognizes.

Implements

IDataContractSurrogateGetDataContractType(Type)
See Also