Debugger4.GetExpression Method (String, Boolean, Int32)

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:  EnvDTE90a
Assembly:  EnvDTE90a (in EnvDTE90a.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.

Implements

Debugger3.GetExpression(String, Boolean, Int32)

Remarks

See GetExpression.

.NET Framework Security

See Also

Reference

Debugger4 Interface

GetExpression Overload

EnvDTE90a Namespace