SetDirtyObject Method

SubMenuStyleCollection.SetDirtyObject Method (Object)


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

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

protected override void SetDirtyObject(
	object o


Type: System.Object

The object that should serialize itself completely.

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

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft