The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
IDataContractSurrogate::GetDataContractType Method (Type^)
.NET Framework (current version)
During serialization, deserialization, and schema import and export, returns a data contract type that substitutes the specified type.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
Parameters
- type
-
Type:
System::Type^
The CLR type Type to substitute.
Return Value
Type: System::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.
.NET Framework
Available since 3.0
Available since 3.0
Show: