Version

WebObjectBase Class Members

The following tables list the members exposed by WebObjectBase.

Public Properties
 NameDescription
Public PropertyIsEmptyCheck if object contains only default values.  
Protected Properties
 NameDescription
Protected PropertyEnableViewStateTurns on ViewState tracking for this WebObject  
Protected PropertyOwnerThe primary collection to which this object belongs.  
Protected PropertySubObjects  
Protected PropertyViewStateGets a dictionary of state information (StateBag) that allows you to save and restore the view state of a server control across multiple requests for the same page.  
Public Methods
 NameDescription
Public MethodGetValueOverloaded. Obtains a property value from ViewState based on the string id define as a constant in the derived class.  
Public Methodstatic (Shared in Visual Basic)IsDataPossiblePublic shortcut to check if object has had data changes  
Public MethodIsDirtyOverloaded. Public shortcut to check if object has had data changes  
Public MethodResetClears the values of all properties within the object and also clears the viewstate for the object  
Public MethodSetValueSets an object value so that it is maintained in viewstate  
Public MethodToStringString formatted for visual designer.  
Protected Methods
 NameDescription
Protected MethodCreateSubObject  
Protected MethodGetSubObjectObtains a subobject reference based on the specified id value. SubObjects are automatically managed for ViewState  
Protected MethodOnPropertyChangeVirtual method that is called whenever a property within the object has been changed.  
Protected MethodSetSubObjectEstablishes a subobject in the SubObject hash collection.  
See Also