APGen Documentation Previous Topic: APGError.FilePath Next Topic: APGError.Source Parent Topic: APGError Object    APGError Object
APGError.LineNumber
See Also:

The APGError.LineNumber property returns the line number of the script file that caused the error.

Syntax

VBScript:

nLineNum  = oAPGError.LineNumber

JScript:

nLineNum = oAPGError.LineNumber;

Object

oAPGError An APGError object.

Return Value

nLineNum An integer giving the line number of APGError.FilePath where the error occurred.

Notes

See the APGError Object topic for an example.

Applies To

APGError Object