Altova MapForce 2024 Professional Edition

Item

Home Prev Top Next

Returns the child at n position of the project's root. The index is 1-based (the first index is 1). The largest valid index is Count. For an alternative, see _NewEnum.

 

Signature

Item(in n:Integer) : ProjectItem

 

Errors

Error code

Description

1500

The object is no longer valid.

 

Examples

// -----------------------------------------------------------

// JScript code snippet - enumerate children using Count and Item.

for( nItemIndex = 1; nItemIndex <= objProject.Count; nItemIndex++ )

{

    objProjectItem = objProject.Item(nItemIndex);

    // do something with project item here

}

© 2017-2023 Altova GmbH