Initializes the specified list, query, and view.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Protected Sub Init ( _
list As SPList, _
query As SPQuery, _
strViewName As String _
)
用法
Dim list As SPList
Dim query As SPQuery
Dim strViewName As String
Me.Init(list, query, strViewName)
protected void Init(
SPList list,
SPQuery query,
string strViewName
)
参数
list
类型:Microsoft.SharePoint.SPListAn SPList object that represents the list.
query
类型:Microsoft.SharePoint.SPQueryAn SPQuery object that represents the query.
strViewName
类型:System.StringA string that contains the GUID of the view.