Find File Content Using the .NET IO Clas - 项目摘要 |
摘要
| 管理 |
论坛 文档
| 软件包 |
|
|
|
项目描述: |
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 |
下载 |
|
|