SPListItem.Url property
取得網站相對 URL 的項目。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property Url As String
Get
'用途
Dim instance As SPListItem
Dim value As String
value = instance.Url
public string Url { get; }
Property value
Type: System.String
包含 URL 的字串。
備註
如果清單具有外部資料來源,則此屬性會傳回空字串。