SPFolder.ParentWeb 属性

获取父 Web 站点的文件夹。

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

语法

声明
Public ReadOnly Property ParentWeb As SPWeb
    Get
用法
Dim instance As SPFolder
Dim value As SPWeb

value = instance.ParentWeb
public SPWeb ParentWeb { get; }

属性值

类型:Microsoft.SharePoint.SPWeb
表示父网站的SPWeb对象。

另请参阅

引用

SPFolder 类

SPFolder 成员

Microsoft.SharePoint 命名空间