XsltListFormWebPart.GetDataSource Method
Gets the data source instance for the XsltListFormWebPart.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overrides Function GetDataSource As IDataSource
'Usage
Dim instance As XsltListFormWebPart
Dim returnValue As IDataSource
returnValue = instance.GetDataSource()
public override IDataSource GetDataSource()
Return Value
Type: System.Web.UI.IDataSource
The data source to which XsltListFormWebPart is bound.
Remarks
This method gets the data source instance from the base class. If this instance is null, the data source is retrieved from the SharePoint content database.