Gets or sets the type identifier for the type metadata marker.
Syntax
CSharp
public string ScriptTypeId { get; set; }VisualBasic
Public Property ScriptTypeId As String
ManagedCPlusPlus
JSharp
/** @property */
/** @property */
Value
Return Value
The type identifier for the type metadata marker on the serialized JavaScript Object Notation (JSON) string. The default value is the assembly-qualified name of the type.
Remarks
This is an optional property. If specified, the value of ScriptTypeId will be used for the type metadata marker ("__type") on the serialized JSON string instead of the assembly-qualified name of the type. During deserialization, the type resolver that is associated with the JavaScriptSerializer object will then use the type metadata marker value to map back to the appropriate managed type.
Assembly: System.Web.Extensions (Module: System.Web.Extensions)