Functions.FGetStream 方法 | |
Access the FileStream object used by the X# Runtime for Low Level File Access
命名空间:
XSharp.Core
程序集:
XSharp.Core (在 XSharp.Core.dll 中) 版本:2.22 GA
语法 FUNCTION FGetStream(
pFile AS IntPtr
) AS FileStream
public static FileStream FGetStream(
IntPtr pFile
)
查看代码参数
- pFile
- 类型:IntPtr
文件的句柄。 请参阅下面关于 X# 运行时文件句柄和 Win32 文件句柄兼容性的备注。
返回值
类型:
FileStreamThe FileStream object or NULL when the handle is not valid
备注 警告: |
---|
You are not supposed to close the stream object that you retrieve with this function.
The Lifetime management of the stream should be left to the X# Runtime
If you want to close the stream, please use the FClose() function |
参见