Field.JSLink 属性

When implemented in a derived class, gets or sets the name of an external JavaScript file that contains any client rendering logic for fields of the derived type.

命名空间:  Microsoft.SharePoint.Client
程序集:   Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)

语法

声明
Public Property JSLink As String
    Get
    Set
用法
Dim instance As Field
Dim value As String

value = instance.JSLink

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

属性值

类型:System.String
The name of the file.

备注

For example, in many of the built-in classes that derive from this one, JSLink defaults to "clienttemplates.js".

JSLink 属性在“调查”或“事件”列表上不受支持。SharePoint 日历为“事件”列表。

另请参阅

引用

Field 类

Field 成员

Microsoft.SharePoint.Client 命名空间