IFaxOutboundRoutingGroups::get_Item method (faxcomex.h)

The IFaxOutboundRoutingGroups::get_Item method returns a IFaxOutboundRoutingGroup interface from the collection.

Syntax

HRESULT get_Item(
  [in]          VARIANT                  vIndex,
  [out, retval] IFaxOutboundRoutingGroup **pFaxOutboundRoutingGroup
);

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 unique name that identifies the outbound routing group to retrieve. Other types are not supported.

[out, retval] pFaxOutboundRoutingGroup

Type: IFaxOutboundRoutingGroup**

An address of a pointer that receives the IFaxOutboundRoutingGroup interface.

Return value

Type: HRESULT

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

Remarks

To return the group consisting of all of the devices, set vIndex equal to the constant bstrGROUPNAME_ALLDEVICES.

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

IFaxOutboundRoutingGroups

Visual Basic Example