SPUrlExpressionBuilder.EvaluateExpression Method
Returns an object that represents an evaluated expression.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function EvaluateExpression ( _
target As Object, _
entry As BoundPropertyEntry, _
parsedData As Object, _
context As ExpressionBuilderContext _
) As Object
'Usage
Dim instance As SPUrlExpressionBuilder
Dim target As Object
Dim entry As BoundPropertyEntry
Dim parsedData As Object
Dim context As ExpressionBuilderContext
Dim returnValue As Object
returnValue = instance.EvaluateExpression(target, _
entry, parsedData, context)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override Object EvaluateExpression(
Object target,
BoundPropertyEntry entry,
Object parsedData,
ExpressionBuilderContext context
)
Parameters
target
Type: System.ObjectThe object containing the expression.
entry
Type: System.Web.UI.BoundPropertyEntryThe object that represents information about the property bound to by the expression.
parsedData
Type: System.ObjectThe object containing parsed data as returned by the ParseExpression method.
context
Type: System.Web.Compilation.ExpressionBuilderContextContextual information for the evaluation of the expression.
Return Value
Type: System.Object
A System.Object that represents the evaluated expression.