FileHelper Class | Helper帮助文档 |
文件操作帮助类
Inheritance Hierarchy
Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class FileHelper
Public Class FileHelper
public ref class FileHelper
type FileHelper = class end
The FileHelper type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | FileHelper | Initializes a new instance of the FileHelper class |
Methods
Name | Description | |
---|---|---|
![]() ![]() | CopyDir |
指定文件夹下面的所有内容copy到目标文件夹下面
|
![]() ![]() | DeleteFolder |
递归删除文件夹目录及文件
|
![]() | Equals | (Inherited from Object.) |
![]() ![]() | FileAdd |
追加文件
|
![]() ![]() | FileCoppy |
拷贝文件
|
![]() ![]() | FileCreate | |
![]() ![]() | FileDel |
删除文件
|
![]() ![]() | FileMove |
移动文件
|
![]() | Finalize | (Inherited from Object.) |
![]() ![]() | FolderCreate(String) |
创建文件夹
|
![]() ![]() | FolderCreate(String, String) |
在当前目录下创建目录
|
![]() ![]() | GetDirectoryLength |
获取文件夹大小
|
![]() ![]() | GetFileAttibe |
获取指定文件详细属性
|
![]() ![]() | GetFoldAll(String) |
获取指定文件夹下所有子目录及文件
|
![]() ![]() | GetFoldAll(String, String, String) |
获取指定文件夹下所有子目录及文件(下拉框形)
|
![]() | GetHashCode | (Inherited from Object.) |
![]() ![]() | GetPostfixStr |
取后缀名
|
![]() | GetType | (Inherited from Object.) |
![]() ![]() | ListTreeShow(DirectoryInfo, Int32, String) |
获取指定文件夹下所有子目录及文件函数
|
![]() ![]() | ListTreeShow(DirectoryInfo, Int32, String, String) |
获取指定文件夹下所有子目录及文件函数
|
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | Read_Txt | |
![]() ![]() | ReadFile |
读文件
|
![]() | ToString | (Inherited from Object.) |
![]() | Write_Txt | |
![]() ![]() | WriteFile |
写文件
|
See Also