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::GetReferencedTypeOnImport Method (String^, String^, Object^)
.NET Framework (current version)
During schema import, returns the type referenced by the schema.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
Type^ GetReferencedTypeOnImport( String^ typeName, String^ typeNamespace, Object^ customData )
Parameters
- typeName
-
Type:
System::String^
The name of the type in schema.
- typeNamespace
-
Type:
System::String^
The namespace of the type in schema.
- customData
-
Type:
System::Object^
The object that represents the annotation inserted into the XML schema definition, which is data that can be used for finding the referenced type.
Null should be returned if a CLR type does not exist for representing the schema type. This will cause a new type to be generated during schema import.
.NET Framework
Available since 3.0
Available since 3.0
Show: