IFaxOutgoingJobs::get_Item method (faxcomex.h)

The IFaxOutgoingJobs::get_Item method returns a IFaxOutgoingJob interface from the IFaxOutgoingJobs interface.

Syntax

HRESULT get_Item(
  [in]          VARIANT         vIndex,
  [out, retval] IFaxOutgoingJob **pFaxOutgoingJob
);

Parameters

[in] vIndex

Type: VARIANT

Variant that specifies the item to retrieve from the collection.

If this parameter is type VT_I2 or VT_I4, the parameter specifies the index of the item to retrieve from the collection. The index is 1-based. If this parameter is type VT_BSTR, the parameter is a job ID that specifies the outbound job to retrieve. Other types are not supported.

[out, retval] pFaxOutgoingJob

Type: IFaxOutgoingJob**

An address of a pointer that receives a IFaxOutgoingJob interface.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header faxcomex.h
DLL Fxscomex.dll

See also

FaxOutgoingJobs

IFaxOutgoingJobs

Visual Basic Example