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