Creating a Custom Object with WSC - Creating the Public Interface
(Page 3 of 4 )
In steps three, four, and five of the wizard you will be given an opportunity to begin creating your component’s public interface. These are the properties, methods, and events that your components will expose to the calling script or application, and will be provided by its object. Keep in mind that you can add, remove, or change these at any time later. These steps are only meant as timesavers.

In the image above you can see where I’ve added the necessary properties for the ZipFolder component. All of my properties are Read-Only except for FullName, which is Read/Write. I haven’t provided any default values either, since I don’t need them. Now it’s time to add the methods and their parameters.

If your methods have multiple parameters, you can list them all, separated by commas.
Next: Wrapping up the wizard >>
More Code Examples Articles
More By Nilpo