Share via


UserCustomAction.ScriptSrc property

Gets or sets a value that specifies the URI of a file which contains the ECMAScript to execute on the page

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

Syntax

'Declaration
Public Property ScriptSrc As String
    Get
    Set
'Usage
Dim instance As UserCustomAction
Dim value As String

value = instance.ScriptSrc

instance.ScriptSrc = value
public string ScriptSrc { get; set; }

Property value

Type: System.String
Returns a String instance representing the execution on the page.

Remarks

It must be a null reference (Nothing in Visual Basic), or a server-relative URL.

. It must be a null reference (Nothing in Visual Basic) if Location is not “ScriptLink”.” This Standard defines the ECMAScript scripting language

See also

Reference

UserCustomAction class

UserCustomAction members

Microsoft.SharePoint.Client namespace