
Chapter 2 -- 104
Programmer’s Guide
OLEObjects Collection
Properties
Methods
Application
Add
Count
Item (Default)
Parent
"
"
"
"
OLEObjects.Count
Returns the number of items in the specified collection.
Access
Read-Only.
Type
VT_I2 or Integer.
"
"
"
"
OLEObjects.Application
This property returns the Application object that represents the
root object of the hierarchy.
Access
Read-Only.
Type
VT_DISPATCH or Application object.
"
"
"
"
OLEObjects.Parent
Returns the parent object of the specified object.
Access
Read-Only.
Type
VT_DISPATCH.
"
"
"
"
OLEObjects.Add
VTS_DISPATCH or OLEObject
Add
(
strOLEObjectName
).
Adds a new OLEObject object to the collection.
Return value
: Returns a OLEObject object.
Parameters
:
strOLEObjectName
Required VT_BSTR or String. The name
of the object to add.
Object
Properties
Object
Methods