Method | Description | |
---|---|---|
DeleteFile ( string file ) : void | ||
DirectoryExists ( string path ) : bool | ||
FileExists ( string file ) : bool | ||
GetFiles ( string path, string searchPattern ) : string[] | ||
GetFiles ( string path, string searchPattern, SearchOption option ) : string[] | ||
GetTempFileName ( ) : string | ||
GetTempPath ( ) : string | ||
ReadFileAsText ( string path ) : string | ||
ReadLines ( string path ) : string[] | ||
WriteAllText ( string file, string text ) : void |
public DirectoryExists ( string path ) : bool | ||
path | string | |
return | bool |
public GetFiles ( string path, string searchPattern ) : string[] | ||
path | string | |
searchPattern | string | |
return | string[] |
public GetFiles ( string path, string searchPattern, SearchOption option ) : string[] | ||
path | string | |
searchPattern | string | |
option | SearchOption | |
return | string[] |
public ReadFileAsText ( string path ) : string | ||
path | string | |
return | string |
public WriteAllText ( string file, string text ) : void | ||
file | string | |
text | string | |
return | void |