Condividi tramite


WebPartZone.CreateControlCollection method

Creates a ControlCollection that contains all the controls in the zone.

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

Syntax

'Declaration
Protected Overrides Function CreateControlCollection As ControlCollection
'Usage
Dim returnValue As ControlCollection

returnValue = Me.CreateControlCollection()
protected override ControlCollection CreateControlCollection()

Return value

Type: System.Web.UI.ControlCollection
The collection that contains all the controls in the zone.

Remarks

This override creates a new ControlCollection to hold all the controls in the zone.

See also

Reference

WebPartZone class

WebPartZone members

Microsoft.SharePoint.WebPartPages namespace