HiddenFieldPageStatePersister.Save Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serializes any object state contained in the ViewState or ControlState property and writes the state to the response stream.
public:
override void Save();
public override void Save ();
override this.Save : unit -> unit
Public Overrides Sub Save ()
Remarks
The HiddenFieldPageStatePersister implements the Save method to persist page and control state to a client by writing it to a <hidden>
HTML element in the outgoing response to the client. The ObjectStateFormatter object accessed by the StateFormatter property is used to deserialize the data.
Applies to
See also
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk