DataFormParameter.Evaluate Method

Updates and returns the value of the DataFormParameter.

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

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