Compartilhar via


DataFormWebPart.EnsureList Method

Ensures that the SPList object associated with the DataFormWebPart exists.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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