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