LevelHierarchyToolPart.ApplyStateField Method
Sets the appropriate expand or collapse state of the control.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Protected Sub ApplyStateField ( _
sectionContainerControl As Control, _
id As String _
)
'Usage
Dim sectionContainerControl As Control
Dim id As String
Me.ApplyStateField(sectionContainerControl, _
id)
protected void ApplyStateField(
Control sectionContainerControl,
string id
)
Parameters
sectionContainerControl
Type: System.Web.UI.ControlA System.Web.UI.Control object that represents the container control.
id
Type: System.StringA string that represents the container control identifier.