SubMenuStyleCollection.SetDirtyObject(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.