Share via


IFPCMailAntispamFilterFileTypes::Item method

Applies to: desktop apps only

The Item method retrieves the requested value in the FpcMailAntiSpamFileType enumeration from the collection.

Syntax

HRESULT Item(
  [in]   VARIANT v,
  [in]   Variant v,
  [out]  FpcMailAntiSpamFileType *Name
);
FPCMailAntispamFilterFileTypes.Item( _
  ByVal v As VARIANT, _
  ByVal v As Variant, _
  ByRef Name As FpcMailAntiSpamFileType _
) As FpcMailAntiSpamFileType

Parameters

  • v [in]

    C++

    Required. One-based index of the value from the FpcMailAntiSpamFileType enumeration in the collection to retrieve.

    VB

    Required. One-based index of the value from the FpcMailAntiSpamFileType enumeration in the collection to retrieve.

  • Name [out]
    Pointer to a variable that on return receives the value in the FpcMailAntiSpamFileType enumeration requested.

Return value

C++

This method returns S_OK if the call is successful; otherwise, it returns an error code.

VB

This method returns a value in the FpcMailAntiSpamFileType enumeration if successful. Otherwise, an error is raised that can be intercepted by using an error handler.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

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

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCMailAntispamFilterFileTypes

 

 

Build date: 7/12/2010