Share via


SPUserCustomAction.ScriptSrc property

Gets or sets the URL to a file that contains JavaScript to be executed when the custom action is performed.

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

Syntax

'Declaration
Public Overridable Property ScriptSrc As String
    Get
    Set
'Usage
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
The path to a script file.

See also

Reference

SPUserCustomAction class

SPUserCustomAction members

Microsoft.SharePoint namespace

ScriptBlock