SPContext.ListItemServerRelativeUrl 属性

获取或设置列表项的服务器-相对 URL 中Microsoft SharePoint Foundation的当前 HTTP 上下文。

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

语法

声明
Public Property ListItemServerRelativeUrl As String
    Get
    Set
用法
Dim instance As SPContext
Dim value As String

value = instance.ListItemServerRelativeUrl

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

属性值

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

另请参阅

引用

SPContext 类

SPContext 成员

Microsoft.SharePoint 命名空间