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.String

    The value of the declarative expression.

  • propertyType
    Type: System.Type

    The type of the property bound to by the expression.

Return value

Type: System.Object
A System.Object containing the parsed representation of the expression.

See also

Reference

SPUrlExpressionBuilder class

SPUrlExpressionBuilder members

Microsoft.SharePoint.Publishing.WebControls namespace