SPView.JSLink property

JSLink - an Attribute of the view, specifies the Javascript files used for the view.

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

Syntax

'Declaration
Public Property JSLink As String
    Get
    Set
'Usage
Dim instance As SPView
Dim value As String

value = instance.JSLink

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

Property value

Type: System.String
The URI for the JavaScript file.

Remarks

The JSLink property is not supported on Survey or Events lists. A SharePoint calendar is an Events list.

See also

Reference

SPView class

SPView members

Microsoft.SharePoint namespace