SPUrlExpressionBuilder.GetCodeExpression Method
Returns code that is used during page execution to obtain the 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 GetCodeExpression ( _
entry As BoundPropertyEntry, _
parsedData As Object, _
context As ExpressionBuilderContext _
) As CodeExpression
'Usage
Dim instance As SPUrlExpressionBuilder
Dim entry As BoundPropertyEntry
Dim parsedData As Object
Dim context As ExpressionBuilderContext
Dim returnValue As CodeExpression
returnValue = instance.GetCodeExpression(entry, _
parsedData, context)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override CodeExpression GetCodeExpression(
BoundPropertyEntry entry,
Object parsedData,
ExpressionBuilderContext context
)
Parameters
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.CodeDom.CodeExpression
A System.CodeDom.CodeExpression used for property assignment.