When overridden in a derived class, returns the Type object that is associated with the specified type name.
Syntax
CSharp
VisualBasic
Public MustOverride Function ResolveType ( _
id As String _
) As Type
ManagedCPlusPlus
public:
virtual Type^ ResolveType (
String^ id
) abstract
JSharp
Parameters
- id (String)
The name of the managed type.
Return Value
Return Value
The Type object that is associated with the specified type name.
Remarks
When a type resolver is associated with a JavaScriptSerializer instance, the serializer uses the ResolveType(String) method when it iterates through a JSON string to determine the specific managed type to which the JSON type should be converted.
Notes For Inheritors
Given a string value, the type resolver must return a Type object that represents the corresponding managed type.
Assembly: System.Web.Extensions (Module: System.Web.Extensions)