SPFile.Url 属性

获取文件相对于网站的 URL。

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

语法

声明
Public ReadOnly Property Url As String
    Get
用法
Dim instance As SPFile
Dim value As String

value = instance.Url
public string Url { get; }

属性值

类型:System.String
一个包含 URL 的字符串。

另请参阅

引用

SPFile 类

SPFile 成员

Microsoft.SharePoint 命名空间