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.StringThe URL containing the URL tokens.
Return Value
Type: System.Object
A System.String containing the server-relative URL.
See Also
Reference
SPUrlExpressionBuilder Members