SPWeb.GetSubwebsForCurrentUser 方法 (Int32)
Gets the subsites beneath the current website of which the current user is a member based on the specified site definition.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Function GetSubwebsForCurrentUser ( _
nWebTemplateFilter As Integer _
) As SPWebCollection
用法
Dim instance As SPWeb
Dim nWebTemplateFilter As Integer
Dim returnValue As SPWebCollection
returnValue = instance.GetSubwebsForCurrentUser(nWebTemplateFilter)
public SPWebCollection GetSubwebsForCurrentUser(
int nWebTemplateFilter
)
参数
nWebTemplateFilter
类型:System.Int32The site definition. This parameter corresponds to the ID attribute of the Template element in 协作应用程序标记语言 (CAML).
返回值
类型:Microsoft.SharePoint.SPWebCollection
The subsites.