Parameter.SetDirty Parameter.SetDirty Parameter.SetDirty Parameter.SetDirty Method

定義

標記 Parameter 物件,以便將其狀態記錄在檢視狀態中。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 ()

備註

方法是直接ParameterCollection.SetDirtyObjectParameter方法呼叫,以標記物件,使其狀態以檢視狀態記錄。 SetDirtyThe SetDirty method is called directly by the ParameterCollection.SetDirtyObject method, to mark the Parameter object so that its state is recorded in view state.

適用於

另請參閱