MenuItemTemplate.Controls Property

Retrieves an empty ControlCollection object.

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

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