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.Control

    A System.Web.UI.Control object that represents the container control.

  • id
    Type: System.String

    A string that represents the container control identifier.

See also

Reference

LevelHierarchyToolPart class

LevelHierarchyToolPart members

Microsoft.SharePoint.Publishing.WebControls namespace