blockly > FieldVariable > SERIALIZABLE
Propriedade FieldVariable.SERIALIZABLE
Os campos serializáveis são salvos pelo serializador, mas os não serializáveis não. Os campos editáveis também precisam ser serializáveis.
Signature:
SERIALIZABLE: boolean;
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2024-11-09 UTC.
[null,null,["Última atualização 2024-11-09 UTC."],[[["The `FieldVariable.SERIALIZABLE` property determines if the field is saved during serialization."],["This property is a boolean, indicating true for serializable fields and false for non-serializable ones."],["Typically, editable fields should also have the `SERIALIZABLE` property set to true."]]],["The `FieldVariable.SERIALIZABLE` property determines whether a field is saved by the serializer. If `SERIALIZABLE` is set to `true`, the field's data is preserved; otherwise, it is not. Editable fields should be set as serializable. This property is a boolean value, indicating whether the field's data is to be serialized.\n"]]