Microsoft® Visual Basic® Scripting Edition HelpContext Property |
| Language Reference | |
Sets or returns a context ID for a topic in a Help File.
object.HelpContext [= contextID]The HelpContext property syntax has these parts:
Part Description object Required. Always the Err object. contextID Optional. A valid identifier for a Help topic within the Help file.
If a Help file is specified in HelpFile, the HelpContext property is used to automatically display the Help topic identified. If both HelpFile and HelpContext are empty, the value of Number is checked, and, if it corresponds to a VBScript run-time error value, then the VBScript Help context ID for the error is used. If the Number value doesn't correspond to a VBScript error, the contents screen for the VBScript Help file is displayed.