Share via


IFPCMailAntispamFilterStrings::Item method

Applies to: desktop apps only

The Item method retrieves the requested filter string from the collection.

Syntax

HRESULT Item(
  [in]   VARIANT v,
  [in]   Variant v,
  [out]  BSTR *filterString
);
FPCMailAntispamFilterStrings.Item( _
  ByVal v As VARIANT, _
  ByVal v As Variant, _
  ByRef filterString As BSTR _
) As String

Parameters

  • v [in]

    C++

    Required. One-based index of the requested filter string.

    VB

    Required. One-based index of the requested filter string.

  • filterString [out]
    Pointer to a BSTR that is set on return to a string value specifying the requested filter string.

Return value

C++

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

VB

This method returns a string that specifies the requested filter string 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

FPCMailAntispamFilterStrings

 

 

Build date: 7/12/2010