This documentation is archived and is not being maintained.
RouteUrlExpressionEditor::EvaluateExpression Method
Visual Studio 2010
This member overrides ExpressionEditor::EvaluateExpression(String, Object, Type, IServiceProvider), and more complete documentation might be available in that topic.
Evaluates a RouteUrl expression and provides the design-time value.
Assembly: System.Design (in System.Design.dll)
public: virtual Object^ EvaluateExpression( String^ expression, Object^ parseTimeData, Type^ propertyType, IServiceProvider^ serviceProvider ) override
Parameters
- expression
- Type: System::String
A RouteUrl expression to evaluate. The expression does not include the RouteUrl expression prefix.
- parseTimeData
- Type: System::Object
An object that contains additional parsing information for evaluating the expression.
- propertyType
- Type: System::Type
The type of the control property.
- serviceProvider
- Type: System::IServiceProvider
A service provider implementation supplied by the designer host that is used to obtain additional design-time services.
Return Value
Type: System::ObjectThe URL for the specified route and route parameter values if the expression evaluation succeeded; otherwise, nullptr.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: