FileListItem
杂项函数
描述
返回命名列表中指定索引处存储的文件名
语法
Delphi
Function TPDFlib.FileListItem(Const ListName: WideString; Index: Integer): WideString;
ActiveX
Function PDFlib::FileListItem(ListName As String, Index As Long) As String
DLL
const wchar_t* DLFileListItem(int InstanceID, const wchar_t* ListName, int Index);
const char* DLFileListItemA(int InstanceID, const char* ListName, int Index);
参数
| ListName | 要操作的列表名称 |
|---|---|
| Index | 要检索的文件名索引。第一项的索引为 1 |
返回值
返回指定名称字符串列表中 Index(从 1 开始)处的条目;列表不存在或 Index 超出范围时返回空字符串