SPUserCustomAction.ScriptSrc property
取得或設定檔,包含JavaScript執行自訂動作時要執行的 URL。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Overridable Property ScriptSrc As String
Get
Set
'用途
Dim instance As SPUserCustomAction
Dim value As String
value = instance.ScriptSrc
instance.ScriptSrc = value
public virtual string ScriptSrc { get; set; }
Property value
Type: System.String
指令碼檔案的路徑。