共用方式為


BaseXsltListWebPart.JSLink property

指向的 URL。應該用來呈現 Web 組件 DataView JS 檔案。如果無法擷取這個 URL,將改為使用 [Js] 屬性。

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

Syntax

'宣告
<ManagedLinkAttribute(Fixup := True)> _
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<RequiresDesignerPermissionAttribute> _
Public Property JSLink As String
    Get
    Set
'用途
Dim instance As BaseXsltListWebPart
Dim value As String

value = instance.JSLink

instance.JSLink = value
[ManagedLinkAttribute(Fixup = true)]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
[RequiresDesignerPermissionAttribute]
public string JSLink { get; set; }

Property value

Type: System.String
轉換成 XSL/T URL 的字串版本

請參閱

參照

BaseXsltListWebPart class

BaseXsltListWebPart members

Microsoft.SharePoint.WebPartPages namespace