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