Breakpoint.Program Property
Gets a reference to a Program object.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
ReadOnly Property Program As Program
'Usage
Dim instance As Breakpoint
Dim value As Program
value = instance.Program
Program Program { get; }
property Program^ Program {
Program^ get ();
}
function get Program () : Program
Property Value
Type: EnvDTE.Program
A reference to a Program object.
Remarks
This object has been superseded by the Process2 object. The existing code that uses Program object continues to work for backwards-compatibility purposes. However, the new applications should use the Process2 object.
The Program object is used to examine and manipulate programs. You can use this object to check if a program is being debugged, and you can examine a program's process and threads managed by the program.
.NET Framework Security
- 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.