Package com.ms.com |
![]() Previous |
![]() Contents |
![]() Index |
![]() Next |
public interface NoAutoScripting { }
Using the NoAutoScripting interface in the implements clause of a class definition prevents the virtual machine (VM) from including its own IDispatch implementation for that class. For example:
//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.AutoNoScripting { public void func() { ... } }
© 1997 Microsoft Corporation. All rights reserved. Legal Notices.