Override this method to map a data contract type to an xsi:type name and namespace during serialization.
        Namespace:
Contracts.Data
        
Assembly: Contracts (in Contracts.dll)
	
		
	
	
	
				
			
	
			
				
				
				
					
				
					
			
		
		
		
			
	
			
				
				
				
					
				
					
			
		
		
			
	
			
				
				
				
					
				
					
			
		
		
		
			
	
			
				
				
				
					
				
					
			
		
		
	
  
	
	
	
	
	
	
		
  
	
	
						
			
			Assembly: Contracts (in Contracts.dll)
Public Overrides Function TryResolveType( _
ByVal type As Type, _
ByVal declared_type As Type, _
ByVal known_type_resolver As DataContractResolver, _
ByRef type_name As XmlDictionaryString, _
ByRef type_namespace As XmlDictionaryString _
) As Boolean
This language is not supported or no code example is available.
public override bool TryResolveType(
Type type,
Type declared_type,
DataContractResolver known_type_resolver,
out XmlDictionaryString type_name,
out XmlDictionaryString type_namespace
)
This language is not supported or no code example is available.
public:
bool TryResolveType(
Type^ type,
Type^ declared_type,
DataContractResolver^ known_type_resolver,
XmlDictionaryString^& type_name,
XmlDictionaryString^& type_namespace
)
This language is not supported or no code example is available.
public function TryResolveType(
type : Type,
declared_type : Type,
known_type_resolver : DataContractResolver,
type_name : XmlDictionaryString,
type_namespace : XmlDictionaryString
) : boolean;
This language is not supported or no code example is available.
Parameters
- type
 - 
		Type: Type 
		
The type to map.
 
- declared_type
 - 
		Type: Type 
		
 
- known_type_resolver
 - 
		Type: DataContractResolver 
		
 
- type_name
 - 
		Type: XmlDictionaryString 
		
 
- type_namespace
 - 
		Type: XmlDictionaryString 
		
 
Return Value
Type: booltrue if mapping succeeded; otherwise, false.