DataFormWebPart.SetConnectedParametersProvider Method
Sets the IWebPartParameters instance from the parameters provider to the DataFormWebPart.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub SetConnectedParametersProvider ( _
provider As IWebPartParameters _
)
'Usage
Dim instance As DataFormWebPart
Dim provider As IWebPartParameters
instance.SetConnectedParametersProvider(provider)
public void SetConnectedParametersProvider(
IWebPartParameters provider
)
Parameters
provider
Type: System.Web.UI.WebControls.WebParts.IWebPartParametersThe interface instance from the parameters provider that is to be connected with the DataFormWebPart.
Remarks
This method adds the provider to _connectedParametersProviders and retrieves data from the provider.