This documentation is archived and is not being maintained.
RouteValueExpressionEditor::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 RouteValue 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 RouteValue expression to evaluate. The expression does not include the RouteValue expression prefix.
- parseTimeData
- Type: System::Object
An object that contains additional parsing information that is used to evaluate the expression.
- propertyType
- Type: System::Type
The type of the control property.
- serviceProvider
- Type: System::IServiceProvider
A service provider implementation that is supplied by the designer host and that is used to obtain additional design-time services.
Return Value
Type: System::ObjectThe value of the specified URL parameter 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: