📚 SAP Business One SDK Help

Item Method
See Also 
Index

specifies the index value of the item (starts from 0).

Description

Retrieves an existing attachment item from the Attachments object.

Syntax

Visual Basic
Public Function Item( _
   ByVal Index As Variant _
) As Attachment

Parameters

Index

specifies the index value of the item (starts from 0).

Return Type

The Item method returns an Attachment object, or nothing if failed.

Remarks

You can use the Add method to add a new Attachment object to the Attachments collection, and then use the Item method to reference the attachment object by its index value.

Example

See Also