zoukankan      html  css  js  c++  java
  • delphi TFileStream.create

    Value 

    Meaning 

    fmCreate  

    Create a file with the given name. If a file with the given name exists, open the file in write mode.  

    fmOpenRead  

    Open the file for reading only.  

    fmOpenWrite  

    Open the file for writing only. Writing to the file completely replaces the current contents.  

    fmOpenReadWrite  

    Open the file to modify the current contents rather than replace them.  

    fmShareCompat  

    Sharing is compatible with the way FCBs are opened.  

    fmShareExclusive  

    Other applications can not open the file for any reason.  

    fmShareDenyWrite  

    Other applications can open the file for reading but not for writing.  

    fmShareDenyRead  

    Other applications can open the file for writing but not for reading.  

    fmShareDenyNone  

    No attempt is made to prevent other applications from reading from or writing to the file.  

    The share mode must be one of the following values:

    Value 

    Meaning 

    fmShareCompat  

    Sharing is compatible with the way FCBs are opened.  

    fmShareExclusive  

    Other applications can not open the file for any reason.  

    fmShareDenyWrite  

    Other applications can open the file for reading but not for writing.  

    fmShareDenyRead  

    Other applications can open the file for writing but not for reading.  

    fmShareDenyNone  

    No attempt is made to prevent other applications from reading from or writing to the file.  

  • 相关阅读:
    asp.net留言板项目源代码下载
    HoverTree项目添加了查看留言列表功能
    HoverTree开源项目已经实现管理员登录
    HoverTree项目已经实现分层
    c# 连接Mysql数据库
    单行文字滚动就用myslider
    C#播放MP3源代码
    PHP 判断是否为 AJAX 请求
    c# TCP Socket通讯基础
    javascript类型注意事项
  • 原文地址:https://www.cnblogs.com/Blogs-young-chan/p/4680100.html
Copyright © 2011-2022 走看看