共用方式為


ListViewWebPart.CreateChildControls method

在ListViewWebPart中建立一組子項所包含的控制項。

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

Syntax

'宣告
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Protected Overrides Sub CreateChildControls
'用途

Me.CreateChildControls()
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
protected override void CreateChildControls()

備註

這個覆寫建立工具列上的控制項和Gantt控制項,如果ViewTypeGanttSPCalendarView控制項如果ViewTypeCalendar

請參閱

參照

ListViewWebPart class

ListViewWebPart members

Microsoft.SharePoint.WebPartPages namespace