This method removes the selected object from the export collection.
HRESULT Item(
VARIANT Index,
);
Index [out, retval]
A variable that contains the object sequence in the object list. This parameter can be a zero-based numeric index, an object identifier (OBJID), or a string-based OBJID.
S_OK indicates successful completion.
An error value indicates that the method failed to complete successfully. For more information, see XML Encoding Errors.
The following syntax is used in automation:
object.Remove(Index)