When used in the implements clause of a class definition, the NoAutoScripting interface of the com.ms.com package prevents the Microsoft VM from including its own IDispatch implementation for the class.
public interface NoAutoScripting { }
// A.func is exposed to scripting engines such as // VB or VBScript, which operate on IDispatch objects. class A { public void func() { ... } } // B.func is not exposed to scripting engines. class B implements com.ms.com.NoAutoScripting { public void func() { ... } }