SPListItemCollection.Init method

Initializes the specified list, query, and view.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Sub Init ( _
    list As SPList, _
    query As SPQuery, _
    strViewName As String _
)
'Usage
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
)

Parameters

  • strViewName
    Type: System.String

    A string that contains the GUID of the view.

See also

Reference

SPListItemCollection class

SPListItemCollection members

Microsoft.SharePoint namespace