GenerateScriptTypeAttribute.ScriptTypeId Propriedade
Definição
Obtém ou define o identificador de tipo para o marcador de metadados de tipo.Gets or sets the type identifier for the type metadata marker.
public:
property System::String ^ ScriptTypeId { System::String ^ get(); void set(System::String ^ value); };
public string ScriptTypeId { get; set; }
member this.ScriptTypeId : string with get, set
Public Property ScriptTypeId As String
Valor da propriedade
O identificador de tipo para o marcador de metadados de tipo na cadeia de caracteres JSON (JavaScript Object Notation serializada).The type identifier for the type metadata marker on the serialized JavaScript Object Notation (JSON) string. O valor padrão é o nome qualificado do assembly do tipo.The default value is the assembly-qualified name of the type.
Comentários
Este é um parâmetro opcional.This is an optional property. Se especificado, o valor de ScriptTypeId é usado para o marcador de metadados de tipo ("__type") na cadeia de caracteres JSON serializada em vez do nome qualificado pelo assembly do tipo.If specified, the value of ScriptTypeId is used for the type metadata marker ("__type") on the serialized JSON string instead of the assembly-qualified name of the type. Durante a desserialização, o resolvedor de tipo associado ao JavaScriptSerializer objeto usará o valor de marcador de metadados de tipo para mapear de volta para o tipo gerenciado apropriado.During deserialization, the type resolver that is associated with the JavaScriptSerializer object will use the type metadata marker value to map back to the appropriate managed type.