プロパティ 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

参照

すべてのコンポーネント クラス

テクニカルリファレンス

EPC150060 - December 2023