+

Search Tips | Advanced Search

Truncate method


Purpose

The Truncate method reduces the number of user items in a bag. This method corresponds to the MQAI call, "mqTruncateBag," in the Programmable command formats reference.


Format


Parameters


Visual Basic Language Invocation

To reduce the number of user items in a bag:
mqbag.Truncate(ItemCount)