MenuItemTemplate.Controls property

Retrieves an empty ControlCollection object.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property Controls As ControlCollection
    Get
'Usage
Dim instance As MenuItemTemplate
Dim value As ControlCollection

value = instance.Controls
public override ControlCollection Controls { get; }

Property value

Type: System.Web.UI.ControlCollection
An empty ControlCollection object.

Remarks

The Controls property normally returns the child controls for a server control but is empty for this type of control.

See also

Reference

MenuItemTemplate class

MenuItemTemplate members

Microsoft.SharePoint.WebControls namespace