DataFormParameter.Evaluate method

Updates and returns the value of the DataFormParameter.

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

Syntax

'Declaration
Protected Overrides Function Evaluate ( _
    context As HttpContext, _
    control As Control _
) As Object
'Usage
Dim context As HttpContext
Dim control As Control
Dim returnValue As Object

returnValue = Me.Evaluate(context, _
    control)
protected override Object Evaluate(
    HttpContext context,
    Control control
)

Parameters

Return value

Type: System.Object
The value of the DataFormParameter.

Remarks

This override updates the value of the DataFormParameter object before returning it if the value of the ParameterValues property is null . If the ParameterKey value is null or an empty string, a SystemException is thrown.

See also

Reference

DataFormParameter class

DataFormParameter members

Microsoft.SharePoint.WebPartPages namespace