SPListCollection.EnsureListsData method

Checks data for a specified list and, if necessary, updates the list to ensure that the most current data is used.

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

Syntax

'Declaration
Protected Sub EnsureListsData ( _
    strListName As String _
)
'Usage
Dim strListName As String

Me.EnsureListsData(strListName)
protected void EnsureListsData(
    string strListName
)

Parameters

  • strListName
    Type: System.String

    A string that contains the name of a list.

See also

Reference

SPListCollection class

SPListCollection members

Microsoft.SharePoint namespace