DataFormWebPart.EnsureList method

Ensures that the SPList object associated with the DataFormWebPart exists.

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

Syntax

'Declaration
Protected Friend Overridable Sub EnsureList
'Usage

Me.EnsureList()
protected internal virtual void EnsureList()

Remarks

This method determines whether the SPList object associated with the DataFormWebPart exists. If the SPList does not exist, gets a SPList object using the existing information for the DataFormWebPart.

See also

Reference

DataFormWebPart class

DataFormWebPart members

Microsoft.SharePoint.WebPartPages namespace