/** * This will set an object at a specific index. * * @param index zero based index into array. * @param object The object to set. */ public void set(int index, ICosObject obj) { CosBase baseObj = null; if (obj != null) { baseObj = baseObj.GetCosObject(); } set(index, baseObj); }
/** * This will add an object to the array. * * @param object The object to add to the array. */ public void add(ICosObject obj) { objects.Add(obj.GetCosObject()); }