IFWXNetworkElements::GetItem method

Applies to: desktop apps only

The GetItem method retrieves the requested IFWXNetworkElement interface from the collection.

Syntax

HRESULT GetItem(
  [in]   unsigned int uiItemIndex,
  [out]  IFWXNetworkElement **ppNetworkElement
);

Parameters

  • uiItemIndex [in]
    One-based index of the IFWXNetworkElement interface to retrieve.

  • ppNetworkElement [out]
    Address of an interface pointer that on return points to the IFWXNetworkElement interface requested.

Return value

This method can return one of the following:

  • S_OK, indicating that the operation succeeded.
  • An error code, indicating that the operation failed. In this case, the [out] parameter returned is a null object.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

Header

Wspfwext.idl

DLL

Wspsrv.exe

See also

IFWXNetworkElements

 

 

Build date: 7/12/2010