public bool AddShape(Shape shape, long id);
Adds a shape to a collection. The source shape is consumed by the collection and that pointer is no longer valid. The ID passed should be acquired from a RegionId object (get the long value) or use the implicit cast to (long).