SPTokenExpressionBuilder.EvaluateExpression method
Evaluates the EXPRESSION specifed in a SharePoint tokens expression builder tag (for example, <%$SPTokens:EXPRESSION%>).
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overrides Function EvaluateExpression ( _
target As Object, _
entry As BoundPropertyEntry, _
parsedData As Object, _
context As ExpressionBuilderContext _
) As Object
'Usage
Dim instance As SPTokenExpressionBuilder
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)
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 that is bound to by the expression.
parsedData
Type: System.ObjectThe object containing parsed data as returned by ParseExpression.
context
Type: System.Web.Compilation.ExpressionBuilderContextContextual information for the evaluation of the expression.
Return value
Type: System.Object
An object that represents the evaluated expression, otherwise a null reference (Nothing in Visual Basic) if the inheritor does not implement EvaluateExpression.
See also
Reference
SPTokenExpressionBuilder class