INVARGOBJ

912

^ARGDIM not allowed on objects; use method to get length

The ^ARGDIM operation cannot be used on an object parameter. Since collection object types typically implement a method or property that returns the number of items in the collection, you can call the appropriate method or access the appropriate property to get the number of items in the object.