다음을 통해 공유


BaseXsltListWebPart.AddDataSourceParameters Method

Adds a new Parameter to the ParameterCollection.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Protected Function AddDataSourceParameters ( _
    selectParameters As ParameterCollection, _
    name As String, _
    defaultValue As String _
) As Parameter
'Usage
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
)

Parameters

Return Value

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

Remarks

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

See Also

Reference

BaseXsltListWebPart Class

BaseXsltListWebPart Members

Microsoft.SharePoint.WebPartPages Namespace