WebPartZone.CreateControlCollection 方法

创建包含该区域中的所有控件ControlCollection

命名空间:  Microsoft.SharePoint.WebPartPages
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Protected Overrides Function CreateControlCollection As ControlCollection
用法
Dim returnValue As ControlCollection

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

返回值

类型:System.Web.UI.ControlCollection
包含该区域中的所有控件的集合。

备注

此重写创建新的ControlCollection的区域中保留的所有控件。

另请参阅

引用

WebPartZone 类

WebPartZone 成员

Microsoft.SharePoint.WebPartPages 命名空间