SPUrlExpressionBuilder.EvaluateUrlExpression method

Converts a URL containing one or more URL tokens into a server-relative URL.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Shared Function EvaluateUrlExpression ( _
    expression As String _
) As Object
'Usage
Dim expression As String
Dim returnValue As Object

returnValue = SPUrlExpressionBuilder.EvaluateUrlExpression(expression)
public static Object EvaluateUrlExpression(
    string expression
)

Parameters

  • expression
    Type: System.String

    The URL containing the URL tokens.

Return value

Type: System.Object
A System.String containing the server-relative URL.

See also

Reference

SPUrlExpressionBuilder class

SPUrlExpressionBuilder members

Microsoft.SharePoint.Publishing.WebControls namespace

SPUrlExpressionBuilder