Share via


RenderToStringResult.Globals Property

Definition

If set, specifies JSON-serializable data that should be added as a set of global JavaScript variables in the document. This can be used to transfer arbitrary data from server-side prerendering code to client-side code (for example, to transfer the state of a Redux store).

public:
 property Newtonsoft::Json::Linq::JObject ^ Globals { Newtonsoft::Json::Linq::JObject ^ get(); void set(Newtonsoft::Json::Linq::JObject ^ value); };
public Newtonsoft.Json.Linq.JObject Globals { get; set; }
member this.Globals : Newtonsoft.Json.Linq.JObject with get, set
Public Property Globals As JObject

Property Value

Newtonsoft.Json.Linq.JObject

Applies to