GetWebCaptureCommandCount
文件結構
描述
傳回所選文件目錄 /SpiderInfo /C 陣列中的 ISO Web Capture 命令項目數
語法
Delphi
Function GetWebCaptureCommandCount: Integer;傳回值
| 0 | 沒有可用的命令陣列,或陣列為空 |
|---|---|
| N | 命令項目數 |
失敗行為
此函式不會因 /SpiderInfo 中繼資料遺失或格式錯誤而引發錯誤,而是傳回 0
備註
此結果定義 GetWebCaptureCommand 的有效從 1 起算索引範圍。此 API 只檢查 ISO Web Capture 命令中繼資料,不執行任何網路存取
另請參閱
GetWebCaptureCommand, AddWebCaptureCommand, ClearWebCaptureCommands, TPDFlibWebCaptureCommand