SPWeb.Webs 属性

Gets a website collection object that represents all websites immediately beneath the website, excluding children of those websites.

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

语法

声明
Public ReadOnly Property Webs As SPWebCollection
    Get
用法
Dim instance As SPWeb
Dim value As SPWebCollection

value = instance.Webs
public SPWebCollection Webs { get; }

属性值

类型:Microsoft.SharePoint.SPWebCollection
A collection of SPWeb objects that represent child websites.

备注

Use the AllWebs property of the SPSite class to return all the websites within a site collection.

另请参阅

引用

SPWeb 类

SPWeb 成员

Microsoft.SharePoint 命名空间