Version

GetSubObject Method (WebObjectBase)

Obtains a subobject reference based on the specified id value. SubObjects are automatically managed for ViewState
Syntax
'Declaration
 
Protected Function GetSubObject( _
   ByVal id As String _
) As Object
protected object GetSubObject( 
   string id
)

Parameters

id
The Id of the subobject (defined as a constant in the derived class).

Return Value

The appropriate subobject based on the id.
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