DocumentTypes

A collection of DocumentType objects.

Properties

The following table lists properties along with their access and descriptions.

Property

Access

Description

Application

R/O

Application. The Application object.

Count

R/O

Long. The number of objects in this collection.

_NewEnum

R/O

Enumeration object. Implements IEnumVARIANT. For Windows only.

Parent

R/O

DocumentLibrary. The DocumentLibrary object that owns this collection.

Methods

DocumentType Item(VARIANT Index)

DEFAULT. Returns the DocumentType object specified by Index. Index may be a Long or a string. If Index is a Long, returns the DocumentType object located at the given Index in the collection. Valid indexes are 1 through Count, inclusive. Throws an exception if the Index is outside of this range. If Index is a string, returns the DocumentType object whose Name is equal to Index.