LogFileCollection::GetItem method
Returns the file path of a log file in the collection.
Syntax
virtual HRESULT GetItem(
[in] INT index,
[out] LPCWSTR *filePath
) = 0;
Parameters
-
index [in]
-
The identifier of the log file.
-
filePath [out]
-
The file path.
Return value
If the function succeeds, it returns S_OK. If it fails, it returns an error value.
Remarks
index ranges from 0 to one less than the count of items in the collection.
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|
DLL |
|