共用方式為


SilverlightWebPart.CreateChildControls method

建立Literal的 Silverlight 網頁組件的唯一的子控制項。

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

Syntax

'宣告
Protected Overrides Sub CreateChildControls
'用途

Me.CreateChildControls()
protected override void CreateChildControls()

備註

如果使用自訂的外部應用程式提供者 (EAP) 時, CreateChildControls()方法會使用傳回SPExternalApplicationRequestResult.GetContentControl(String),如果有的話,為網頁組件的子控制項的控制項。

請參閱

參照

SilverlightWebPart class

SilverlightWebPart members

Microsoft.SharePoint.WebPartPages namespace