SubMenuStyleCollection.SetDirtyObject Method

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft