SPWebPartManager.ServerRelativeUrl 属性

获取当前Web 部件页的服务器相对 URL。

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

语法

声明
Public ReadOnly Property ServerRelativeUrl As String
    Get
用法
Dim instance As SPWebPartManager
Dim value As String

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

属性值

类型:System.String
当前Web 部件页相对 URL。

另请参阅

引用

SPWebPartManager 类

SPWebPartManager 成员

Microsoft.SharePoint.WebPartPages 命名空间