Share via


LogFileCollection::AddItem method

Adds a log file to the collection.

Syntax

virtual HRESULT AddItem(
  [in] LPCWSTR filePath
) = 0;

Parameters

filePath [in]

The file path of the log file to add.

Return value

If the function succeeds, it returns S_OK. If it fails, it returns an error value.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
AxeRuntime.h
DLL
AxeCore.dll

See also

LogFileCollection