IExport::Remove Method

Meta Data Services Programming

Meta Data Services Programming

IExport::Remove Method

This method removes the selected object from the export collection.

COM Syntax

HRESULT Item(
      VARIANT Index,
);

Parameters

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.

Return Value

S_OK indicates successful completion.

An error value indicates that the method failed to complete successfully. For more information, see XML Encoding Errors.

Automation Syntax

The following syntax is used in automation:

   object.Remove(Index)

See Also

XML Import Export