EasyManua.ls Logo

Teklynx Discover ActiveX - Object Methods

Teklynx Discover ActiveX
165 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 2 -- 69
Reference Guide
"
""
" DocumentProperties.Item
VTS_DISPATCH or DocumentProperty
Item( longIndex ).
Returns a member of a collection, either by position or by name.
Note
If the value provided as Index does not match any existing
member of the collection, no object is returned.
Parameters:
longIndex Required VT_VARIANT or Variant
.Thenameor
index number of a member of the collection.
The index can be a numeric expression (a number from 1 to the
value of the collection’s Count property), a constant, or a string.
Note
If the value provided as Index doesn’t match any existing
member of the collection, an error occurs.
The Item method is the default method for collections. There-
fore, the following two lines of code are equivalent.
Object.DocumentProperties(1)
Object. DocumentProperties.Item(1)
An enumerated type enumBuiltInDocumentProperty is enabled:
lppxPropertyManager = 1
lppxPropertyCompany = 2
lppxPropertyCategory = 3
lppxPropertyTitle = 4
lppxPropertySubject = 5
lppxPropertyAuthor = 6
lppxPropertyKeywords = 7
lppxPropertyComments = 8
Object
Methods

Table of Contents