FilePaths インターフェース - FilePath プロパティ
ファイルのパス
FilePaths インターフェース (PRIM_APPL.IDragDropFilePaths) のメンバ
データ タイプ - 文字列
| 名前 | タイプ | データ タイプ | 記述 |
|---|---|---|---|
| Index | *Input | 整数 | Index パラメータ |
FilePath プロパティは、各ファイルのパスへのアクセスを提供するキー付きプロパティです。
この例では、ペイロードをループし、インデックスを使用して各 FilePath にアクセスします。
Evtroutine Handling(#Files.DragDrop) Payload(#Payload)
Define_Com Class(#Prim_nmbr) Name(#Index)
If (#Payload *Is #Prim_Appl.IDragDropFilePaths)
Begin_Loop To((#Payload *As #Prim_Appl.IDragDropFilePaths).FileCount)
#Index += 1
#Com_owner.Save((#Payload *As #Prim_Appl.IDragDropFilePaths).FilePath<#Index>)
End_Loop
Endif
Endroutine
2018 - V14SP1