IFaxInboundRoutingMethods::get_Item method (faxcomex.h)

The IFaxInboundRoutingMethods::get_Item method returns a IFaxInboundRoutingMethod object from the IFaxInboundRoutingMethods collection.

Syntax

HRESULT get_Item(
  [in]          VARIANT                  vIndex,
  [out, retval] IFaxInboundRoutingMethod **pFaxInboundRoutingMethod
);

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 GUID that identifies the fax routing method to retrieve. Other types are not supported.

[out, retval] pFaxInboundRoutingMethod

Type: IFaxInboundRoutingMethod**

Address of a pointer to an IFaxInboundRoutingMethod 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

IFaxInboundRoutingMethods

Visual Basic Example