Each of the interfaces in your information model can expose methods. Attach a new method to an interface by creating an instance of the MethodDef class.
To create a new method definition:
Note If your interface has methods, you must provide your own Automation server for classes that implement this interface. (See Information Model Creation Issues for more information about deciding which kind of Automation server to use.)