AccpacViewCompositeNames.Item
Returns the name (Roto ID) of the subview, based on its 0-based index in the collection.
Function Item(Index As Long) As String
(default)
Parameters
Index
[in] the 0-based index of the subview in the collection
Return Value
Returns the Roto ID of a view that the current view composes.
Remarks
Because the Item method is the default method for this collection, you do not have to specify "Item." For example, the following syntax forms are interchangeable:
CompositeNames.Item(0)
CompositeNames(0)
Example
The following example displays the Roto ID of the first subview (BK0002)
of the Bank Account view (BK0001) in a message box:
Dim BKACCT1header As AccpacCOMAPI.AccpacView
mDBLinkCmpRW.OpenView "BK0001", BKACCT1header
MsgBox BKACCT1header.CompositeNames(0)