Constants Property

         Example         Applies To

Returns an object that allows script users to use named constants. Read-only.

Remarks

For more information, see Using Named Constants in VBScript.

This property is required only on HTML pages. In other containers (such as Visual Basic), you can use defined constants from the object model directly, without first using the Constants property. Using the Constants property in other containers will work but is not recommended, as it will cause your code to run significantly slower.