Windows apps
Collapse the table of content
Expand the table of content
Information
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.

ProxyDataContractResolver::ResolveName Method (String^, String^, Type^, DataContractResolver^)

.NET Framework (current version)
 

During deserialization, maps any xsi:type information to the actual type of the persistence-ignorant object.

Namespace:   System.Data.Objects
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public:
virtual Type^ ResolveName(
	String^ typeName,
	String^ typeNamespace,
	Type^ declaredType,
	DataContractResolver^ knownTypeResolver
) override

Parameters

typeName
Type: System::String^

The xsi:type information to map.

typeNamespace
Type: System::String^

The namespace of the xsi:type.

declaredType
Type: System::Type^

The declared type.

knownTypeResolver
Type: System.Runtime.Serialization::DataContractResolver^

An instance of ProxyDataContractResolver.

Return Value

Type: System::Type^

Returns the type that the xsi:type is mapped to. Returns null if no known type was found that matches the xsi:type.

For more information, see: Working with POCO Entities.

.NET Framework
Available since 4.0
Return to top
Show:
© 2017 Microsoft