IFaxOutboundRoutingRules::get_Item method (faxcomex.h)

The IFaxOutboundRoutingRules::get_Item method returns a IFaxOutboundRoutingRule interface from the IFaxOutboundRoutingRules interface using the routing rule's index.

Syntax

HRESULT get_Item(
  [in]          long                    lIndex,
  [out, retval] IFaxOutboundRoutingRule **pFaxOutboundRoutingRule
);

Parameters

[in] lIndex

Type: long

A long value that specifies the outbound routing rule to retrieve from the collection. Valid values for this parameter are in the range from 1 to n, where n is the number of items returned by a call to the IFaxOutboundRoutingRules::get_Count method.

[out, retval] pFaxOutboundRoutingRule

Type: IFaxOutboundRoutingRule**

An address of a pointer that receives the IFaxOutboundRoutingRule 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

IFaxOutboundRoutingRules

Visual Basic Example