Condividi tramite


IFilterValues.ParameterName Property

Gets a string that represents the parameter name. This is typically the same name as the consumer parameter that was selected by the end user during the filter WebPart connection configuration.

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

Syntax

'Declaration
ReadOnly Property ParameterName As String
    Get
'Usage
Dim instance As IFilterValues
Dim value As String

value = instance.ParameterName
string ParameterName { get; }

Property Value

Type: System.String
The string that represents the name of the parameter being passed between the consumer and the provider.

Remarks

Parameter objects are not required to have a name. However, data source controls might use the parameter name to match an object in a collection with an SQL Server query parameter or match the object with a parameter in a business method signature. A WebControl can use the name of a parameter object in a collection to match a placeholder in a filtered expression. In some cases, the name is not used and the order in which the parameter object is added to a collection is more important.

See Also

Reference

IFilterValues Interface

IFilterValues Members

Microsoft.SharePoint.WebPartPages Namespace

ParameterName

SetConsumerParameters

WebPartPages