Debugger5.GetExpression Method

Evaluates an expression based on the current stack frame. If the expression can be parsed but not evaluated, an object is returned but does not contain a valid value.

Namespace:  EnvDTE100
Assembly:  EnvDTE100 (in EnvDTE100.dll)

Syntax

'Declaration
Function GetExpression ( _
    ExpressionText As String, _
    UseAutoExpandRules As Boolean, _
    Timeout As Integer _
) As Expression
Expression GetExpression(
    string ExpressionText,
    bool UseAutoExpandRules,
    int Timeout
)
Expression^ GetExpression(
    [InAttribute] String^ ExpressionText, 
    [InAttribute] bool UseAutoExpandRules, 
    [InAttribute] int Timeout
)
abstract GetExpression : 
        ExpressionText:string * 
        UseAutoExpandRules:bool * 
        Timeout:int -> Expression
function GetExpression(
    ExpressionText : String, 
    UseAutoExpandRules : boolean, 
    Timeout : int
) : Expression

Parameters

  • ExpressionText
    Type: System.String

    The expression text to be evaluated.

  • UseAutoExpandRules
    Type: System.Boolean

    true if the auto-expand rules should be used; otherwise, false.

  • Timeout
    Type: System.Int32

    The timeout period in milliseconds.

Return Value

Type: EnvDTE.Expression
An Expression.

.NET Framework Security

See Also

Reference

Debugger5 Interface

EnvDTE100 Namespace