.NODE

Section A.13. Object Programming

A 13 Object Programming

Class...End Class Statement

Defines a class

CreateObject Function

Returns a reference to a COM component

For Each...Next Statement

Iterates through a collection or array of objects or values, returning a reference to each of the members

Function Statement

Defines a function

GetObject Function

Returns a reference to a COM object

GetRef Function

Returns a reference to a procedure that can be used as an object's event handler

Initialize Event

Fired when a class is first instantiated

Is Operator

Compares two object references to determine whether they are identical

Property Get Statement

Returns the value of a property

Property Let Statement

Sets the value of a property

Property Set Statement

Assigns an object reference to a property

Set Statement

Assigns an object reference to an object variable

Sub Statement

Defines a sub; that is, a procedure that does not return a value

Terminate Event

Fired when the last reference to an instance of a class is destroyed

With...End With Statement

Allows the implicit use of an object reference

Part I: The Basics

Introduction

Program Structure

Data Types and Variables

Error Handling and Debugging

VBScript with Active Server Pages

Programming Outlook Forms

Windows Script Host 5.6

VBScript with Internet Explorer

Windows Script Components

Part II: Reference

Part III: Appendixes

Appendix A. Language Elements by Category

Appendix B. VBScript Constants

Appendix C. Operators

Appendix E. The Script Encoder

show all menu





Vbscript in a Nutshell
VBScript in a Nutshell, 2nd Edition
ISBN: 0596004885
EAN: 2147483647
Year: 2003
Pages: 335
Similar book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net