JScript modifiers are used to affect the behavior and visibility of classes, interfaces, or members of classes or interfaces. You can use modifiers when defining classes and interfaces, but they are not required.
In This Section
- abstract Modifier
Inheritance modifier that allows for definition of classes and class members, but does not allow implementations to be given.
- expando Modifier
Compatibility modifier that marks a class as dynamically extensible or a method as an expando object constructor.
- final Modifier
Inheritance modifier that prevents a class from being extended or prevents a method or property from being overridden.
- hide Modifier
Version-safe modifier that prevents a method or property from overriding a method or property in a base class.
- internal Modifier
Visibility modifier that makes a class, interface, or member visible only to the current package.
- override Modifier
Version-safe modifier for explicitly overriding a method in a base class.
- private Modifier
Visibility modifier that makes a class member visible only to members of the same class.
- protected Modifier
Visibility modifier that makes a member of a class or interface visible only to the current class or interface and derived classes of the current class.
- public Modifier
Visibility modifier that makes members of a class or interface visible to any code that has access to the class or interface.
- static Modifier
Modifier that marks a class member as belonging to the class itself.