SPUserCustomAction.ScriptBlock property

Gets or sets the value that specifies the JavaScript to be executed when the custom action is performed.

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

public virtual string ScriptBlock { get; set; }

Property value

Type: System.String
A string that contains the script.
Show: