Edit

Share via


SubMenuStyleCollection.SetDirtyObject(Object) Method

Definition

Instructs a SubMenuStyle object contained by the SubMenuStyleCollection collection to record its entire state to view state.

protected:
 override void SetDirtyObject(System::Object ^ o);
protected override void SetDirtyObject (object o);
override this.SetDirtyObject : obj -> unit
Protected Overrides Sub SetDirtyObject (o As Object)

Parameters

o
Object

The object that should serialize itself completely.

Remarks

The SetDirtyObject method is called internally by the SaveViewState, Add, and Insert methods.

Applies to