Parameter.SetDirty Method


Marks the Parameter object so its state will be recorded in view state.

protected public:
 virtual void SetDirty();
protected internal virtual void SetDirty ();
abstract member SetDirty : unit -> unit
override this.SetDirty : unit -> unit
Protected Friend Overridable Sub SetDirty ()


The SetDirty method is called directly by the ParameterCollection.SetDirtyObject method, to mark the Parameter object so that its state is recorded in view state.

Applies to

See also