儲存二進位檔案
arrBytes | Byte() | - | 必須 | (無) | 位元組陣列 | |||||||||||||||||||||
lpFilename | String | - | 必須 | (無) | 存檔檔名完整路徑 | |||||||||||||||||||||
hFileSeek | Long | 8 | 可省略 | 0 | 位元陣列開始寫入位置,預設為從頭開始寫入。 | |||||||||||||||||||||
nFileMode | FileMode | 4 | 可省略 | Create | 指定作業系統應該如何開啟檔案,使用 .Net framework 內建常數 System.IO.FileMode,詳細說明請參閱線上手冊。
|
無傳回值
MySaveBinaryFile(arrBytes, "c:\Temp\test.bin")
Visual Studio .Net 2002 以後相容版本 | FileTool.vb
|