📚 SAP Business One SDK Help

Remove Method
See Also 
Index

One of the following:

  • The index of the valid value, 0-based (long integer)
  • The display name of the valid value (string)
  • The valid value (string)
SearchKey
Specifies the search criterion for locating values.

Description

Removes an item from the collection.

Syntax

Visual Basic
Public Sub Remove( _
   ByVal Index As Variant, _
   Optional ByVal SearchKey As BoSearchKey = psk_ByValue _
) 

Parameters

Index

One of the following:

  • The index of the valid value, 0-based (long integer)
  • The display name of the valid value (string)
  • The valid value (string)
SearchKey
ValueDescription
psk_ByValueBy item value
psk_ByDescriptionBy item description
psk_IndexBy item index
Specifies the search criterion for locating values.

Remarks

For use with user-created items only.

See Also