ファイルのパス
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