BreakpointTarget.Expression Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets an expression to be evaluated to determine if the breakpoint should occur.
public:
property System::String ^ Expression { System::String ^ get(); void set(System::String ^ value); };
public string Expression { get; set; }
member this.Expression : string with get, set
Public Property Expression As String
Property Value
A String containing the expression to evaluate.
Examples
The following code example shows how to set the breakpoint expression to evaluate the value of a variable.
bp.Expression = "@v == 1";
bp.Expression = "@v == 1"