Version

CreateSubObject Method (Resource)

Creates property sub-objects of this Resource object.
Syntax
'Declaration
 
Protected Overrides NotOverridable Function CreateSubObject( _
   ByVal Id As String _
) As IStateManager
protected override IStateManager CreateSubObject( 
   string Id
)

Parameters

Id
A property identifier denoting the sub-object property.

Return Value

The IStateManager implementation of the sub-object property for delegation of viewstate management.
Remarks

A property sub-object comprises any property having a complex type (for example, compound properties having their own sub-properties and collection properties). In the Infragistics Web infrastructure, sub-objects are responsible for implementing their own viewstate management behavior. The WebObjectBase class from which all Resource types derive will manage viewstate management for all properties having primitive values for which an overload of GetValue and SetValue exist and are used.

Inheritors deriving from the base Resource type who add their own property sub-objects should override this method, and retrieve the sub-object matching a property ID string they specify. Any unrecognized property ID string must be passed to the base class' implementation of this method.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also