共用方式為


ContentEditorWebPart.RequiresWebPartClientScript method

指示此 Web 組件是否有要註冊的 Web 組件頁面服務元件 (WPSC) 架構的用戶端指令碼。

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

Syntax

'宣告
Protected Friend Overrides Function RequiresWebPartClientScript As Boolean
'用途
Dim returnValue As Boolean

returnValue = Me.RequiresWebPartClientScript()
protected internal override bool RequiresWebPartClientScript()

傳回值

Type: System.Boolean
true表示 「 網頁組件沒有註冊 ; 用戶端指令碼否則為 false。

請參閱

參照

ContentEditorWebPart class

ContentEditorWebPart members

Microsoft.SharePoint.WebPartPages namespace