Compartilhar via


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

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.

See Also

Reference

DataFormWebPart Class

DataFormWebPart Members

Microsoft.SharePoint.WebPartPages Namespace