IFaxAccounts::get_Item method (faxcomex.h)

Returns a FaxAccount object from a FaxAccounts collection.

Syntax

HRESULT get_Item(
  [in]          VARIANT     vIndex,
  [out, retval] IFaxAccount **pFaxAccount
);

Parameters

[in] vIndex

Type: VARIANT

VARIANT that specifies a value that indicates the item to retrieve from the collection. If this parameter is type VT_I2 or VT_I4, it specifies the index of the item to retrieve. The index is 1-based. If this parameter is type VT_BSTR, it specifies the account name to use to search the collection. Other types are not supported.

[out, retval] pFaxAccount

Type: IFaxAccount**

The FaxAccount object.

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 Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header faxcomex.h
DLL Fxscomex.dll

See also

IFaxAccounts

Item