Site.RootWeb 属性

Gets a value that returns the top-level site of the site collection.

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

语法

声明
Public ReadOnly Property RootWeb As Web
    Get
用法
Dim instance As Site
Dim value As Web

value = instance.RootWeb
public Web RootWeb { get; }

属性值

类型:Microsoft.SharePoint.Client.Web
Returns a Web instance representing the top-level site of the site collection.

另请参阅

引用

Site 类

Site 成员

Microsoft.SharePoint.Client 命名空间