Compartilhar 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)

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