SPUrlExpressionBuilder.ParseExpression Method
Returns an object that represents the parsed 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 ParseExpression ( _
expression As String, _
propertyType As Type, _
context As ExpressionBuilderContext _
) As Object
'Usage
Dim instance As SPUrlExpressionBuilder
Dim expression As String
Dim propertyType As Type
Dim context As ExpressionBuilderContext
Dim returnValue As Object
returnValue = instance.ParseExpression(expression, _
propertyType, context)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override Object ParseExpression(
string expression,
Type propertyType,
ExpressionBuilderContext context
)
Parameters
expression
Type: System.StringThe value of the declarative expression.
propertyType
Type: System.TypeThe type of the property bound to by the expression.
context
Type: System.Web.Compilation.ExpressionBuilderContextContextual information for the evaluation of the expression.
Return Value
Type: System.Object
A System.Object containing the parsed representation of the expression.