Returns the specified Extensionl object.
Set variable = object.Item ( Index ) |
- Index
- Required. A Variant that specifies the name or index of the Extension.
Index is a variant specifying the extension to reference. It can be either the index or the name of the extension. For example, if your ArcPad application contains an extension named "MyExtension" that has an index of 2, the following two lines of code will yield the same result:
Set theExtension = Application.Extensions.Item(2)
Set theExtension = Application.Extensions.Item("MyExtension")
The Item method is the default method for the Extensions collection. Therefore, the following two lines of code will yield the same result:
Set theExtension = Application.Extensions.Item("MyExtension")
Set theExtension = Application.Extensions("MyExtension")
Set theExtension = Application.Extensions.Item(2)
Set theExtension = Application.Extensions.Item("MyExtension")
The Item method is the default method for the Extensions collection. Therefore, the following two lines of code will yield the same result:
Set theExtension = Application.Extensions.Item("MyExtension")
Set theExtension = Application.Extensions("MyExtension")