SPListItemCollection.EndLoadData method

Allows normal operations on the collection to resume after loading data.

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

Syntax

'Declaration
Public Sub EndLoadData
'Usage
Dim instance As SPListItemCollection

instance.EndLoadData()
public void EndLoadData()

Remarks

This method clears the data loading flag to resume normal operations on the collection, and marks the parent list as modified.

Use this EndLoadData method in conjunction with the BeginLoadData() method to prevent operations on the collection to take place before loading data into the collection.

See also

Reference

SPListItemCollection class

SPListItemCollection members

Microsoft.SharePoint namespace