File Property
Home Page (Objects) | Overview | FAQ | Reference
Applies to: Breakpoint object
Gets the name of the file in which a breakpoint is set.
Syntax
object**.File**
Parameters
object
An expression that evaluates to a Breakpoint object.
Remarks
The File property has the String type and applies only to location breakpoints.
The File property gets the file name that appears in the Breakpoints dialog box.
Example
The following example finds the file used by the first breakpoint in the Breakpoints collection:
Dim bps
Dim file
Set bps = Debugger.Breakpoints
file = bps.Item(1).File