다음을 통해 공유


DataFormWebPart.GetProviderInterface Method

Gets an instance of the IWebPartRow for the consumer control that is to be connected with the DataFormWebPart.

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

Syntax

'Declaration
Public Function GetProviderInterface As IWebPartRow
'Usage
Dim instance As DataFormWebPart
Dim returnValue As IWebPartRow

returnValue = instance.GetProviderInterface()
public IWebPartRow GetProviderInterface()

Return Value

Type: System.Web.UI.WebControls.WebParts.IWebPartRow
The provider interface for connecting consumer controls

Remarks

This method returns the current DataFormWebPart object as an instance of the IWebPartRow and increments the _rowProviderConnectedCount.

See Also

Reference

DataFormWebPart Class

DataFormWebPart Members

Microsoft.SharePoint.WebPartPages Namespace