BaseXsltListWebPart.AddDataSourceParameters method

Adds a new Parameter to the ParameterCollection.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)


Protected Function AddDataSourceParameters ( _
    selectParameters As ParameterCollection, _
    name As String, _
    defaultValue As String _
) As Parameter
Dim selectParameters As ParameterCollection
Dim name As String
Dim defaultValue As String
Dim returnValue As Parameter

returnValue = Me.AddDataSourceParameters(selectParameters, _
    name, defaultValue)
protected Parameter AddDataSourceParameters(
    ParameterCollection selectParameters,
    string name,
    string defaultValue


Return value

Type: System.Web.UI.WebControls.Parameter
The new parameter that is added.


This method creates a new Parameter with a specified name and default value and adds it to selectParameters.

See also


BaseXsltListWebPart class

BaseXsltListWebPart members

Microsoft.SharePoint.WebPartPages namespace