SPSite.RootWeb 属性
Gets the root Web site of the site collection.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public ReadOnly Property RootWeb As SPWeb
Get
用法
Dim instance As SPSite
Dim value As SPWeb
value = instance.RootWeb
public SPWeb RootWeb { get; }
属性值
类型:Microsoft.SharePoint.SPWeb
An SPWeb object that represents the root Web site.