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:
virtual void SetDirtyObject(
	Object^ o
) override

Parameters

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
Show: