Share via


Breakpoint2.BreakWhenHit Property

Gets or sets a value indicating whether the program breaks when a breakpoint is encountered.

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

Syntax

'Declaration
Property BreakWhenHit As Boolean
'Usage
Dim instance As Breakpoint2 
Dim value As Boolean 

value = instance.BreakWhenHit

instance.BreakWhenHit = value
bool BreakWhenHit { get; set; }
property bool BreakWhenHit {
    bool get ();
    void set (bool value);
}
function get BreakWhenHit () : boolean 
function set BreakWhenHit (value : boolean)

Property Value

Type: System.Boolean
A boolean value that is true if the program breaks when a breakpoint is encountered, otherwise false.

.NET Framework Security

See Also

Reference

Breakpoint2 Interface

Breakpoint2 Members

EnvDTE80 Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples