WebPart.SetParametersProvider Method
Sets the parameter provider.
Namespace: Microsoft.Office.Server.WebControls.Charting
Assembly: Microsoft.Office.Server.Chart (in Microsoft.Office.Server.Chart.dll)
Syntax
'Declaration
Public Sub SetParametersProvider ( _
provider As IWebPartParameters _
)
'Usage
Dim instance As WebPart
Dim provider As IWebPartParameters
instance.SetParametersProvider(provider)
public void SetParametersProvider(
IWebPartParameters provider
)
Parameters
- provider
Type: System.Web.UI.WebControls.WebParts.IWebPartParameters
The object that implements the IWebPartParameters interface for passing the parameters.
Remarks
This method sets the parameter provider and registers the GetParametersFromProvider(IDictionary) method as the callback method to be called by the provider when specifying parameters.