A internal file handler
File
01 Syntax
Microsoft.VisualBasic.My.File
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| Close | 1 | 不存在的文件句柄会在这个函数之中被忽略掉 |
| OpenHandle | 1 | Open a file system handle |
| FileOpened | 1 | Is this file opened |
| Wait | 1 | 等待文件句柄的关闭 |
03 Members
Close(
Int32)不存在的文件句柄会在这个函数之中被忽略掉
Parameters
| Name | Type | Description |
|---|---|---|
file% | Int32 | - |
OpenHandle(
String, Encodings)Open a file system handle
Parameters
| Name | Type | Description |
|---|---|---|
file | String | - |
encoding | Encodings | - |
FileOpened(
String)Is this file opened
Parameters
| Name | Type | Description |
|---|---|---|
filename | String | - |
Wait(
String, Int64)等待文件句柄的关闭
Parameters
| Name | Type | Description |
|---|---|---|
file$ | String | - |
timeout | Int64 | 等待的时间长度,默认为100s,单位为毫秒 |