Previous Topic: Method GetCountNext Topic: Method GetSmartTag XML


Method GetSmartTag

Use this method to return a smart tag from the set of tags generated as a result of analyzing a message.

HRESULT GetSmartTag(
    [in]     DWORD          index,
    [out]    WgnSmartTag    *smartTag
    );

Where:

index

Is the index of the Smart Tag to obtain, from 0 to count-1 (count is obtained from the GetCount method).

smartTag

Is a client-supplied structure which the EA populates with the name and value of the requested Smart Tag. The members of the structure must be set to NULL before calling this method.

Important!  It is the client's responsibility to free the fields of the WgnSmartTag structure via CoTaskMemFree().