联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 Find File Content Using the .NET IO Clas - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为18996
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • jasperreports
  • Air Traffic Controller
  • PoolMan
  • virtualdub-win
  • Apache-SSL-Jserv
  • CppUnit
  • FCK editor
  • GLgraph
  • Async Professional
  • -= 更多 =-

    项目描述:
    This is a very simple application that uses the .NET I/O class to search the files' content in a directory. I first used a DirectoryInfo class to get the directory information. Then, I saved the file list in a FileInfo array. You loop through the array and open each file for reading. Convert the buffer to string type, find the text, and raise an event when it's found.

    这是一个简单的应用程序,使用 .NET I/O类来搜索目录中的文件内容。我先使用DirectoryInfo 类来获取目录信息,接着在一个FileInfo 数组中保存文件列表。你可以遍历数组,打开每个文件以读取它。将缓存转换为字符串类型,查找文本,当找到时激发事件。
    来源: http://www.codeguru.com/cs_data/FindFile.html
    类别:
    发布者: cbd002

    最新发布源码包
    软件包 版本号 日期 本地下载
    FindFile_exe  1.0  2004-04-17 下载

    原始下载连接(国外) http://www.codeguru.com/code/legacy/cs_data/FindFile_exe.zip

      » 合 作 伙 伴