Type Property (AProgram)

Version 6

Returns the item type of the program object.

Syntax

[ enType = ] Object.Type

The Type property syntax has the following parts:

 

Name

Type

Description

Object

AProgram

AProgram object

enType

enumAAppItemType

An integer specifying the type of current  object, either aappTypeProgram.

Where

enumAAppItemType:

 

Name

Value

Description

aappTypeDriver

1

driver

aappTypeProgram

2

program

aappTypeSystem

3

system

aappTypeProgramsFolder

4

programs folder

aappTypeMiscFolder

5

misc folder

aappTypeShortcut

6

shortcut

Comments

 

Example

The following example prints 2:

print App.Programs(0).Type

Applies to

AProgram

See Also