Share via


Menu.InitializeControlIds Method

Sets the properties that could not be initialized correctly during the point in the control life cycle when they were set for the first time.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Sub InitializeControlIds ( _
    namingContainerScope As Control _
)
'Usage
Dim instance As Menu
Dim namingContainerScope As Control

instance.InitializeControlIds(namingContainerScope)
public void InitializeControlIds(
    Control namingContainerScope
)

Parameters

Remarks

Initially, each flag must be set that tells each of these properties that the control has been initialized far enough that they can now be set correctly. Then the properties can be set using their saved values.

See Also

Reference

Menu Class

Menu Members

Microsoft.SharePoint.WebControls Namespace