C# 클래스 fs4net.Framework.Utils.RootedFileUtilities

파일 보기 프로젝트 열기: toroso/fs4net

공개 메소드들

메소드 설명
AppendText ( this me, string text ) : void

Appends the specified string to the end of the file. If the file does not exist it is created.

ReadText ( this me ) : string

Reads all content of the file and returns it as a string.

WriteText ( this me, string text ) : void

Creates a new file containing the specified string.

메소드 상세

AppendText() 공개 정적인 메소드

Appends the specified string to the end of the file. If the file does not exist it is created.
The file's parent directory cannot be found; The /// file is on an unmapped drive. The descriptor denotes an existing directory. The caller does not have the required permission (according to the MSDN documentation).
public static AppendText ( this me, string text ) : void
me this
text string
리턴 void

ReadText() 공개 정적인 메소드

Reads all content of the file and returns it as a string.
The file cannot be found. The file's parent directory cannot be found; The /// file is on an unmapped drive. The descriptor denotes an existing directory. The caller does not have the required permission (according to the MSDN documentation).
public static ReadText ( this me ) : string
me this
리턴 string

WriteText() 공개 정적인 메소드

Creates a new file containing the specified string.
The file's parent directory cannot be found; The /// file is on an unmapped drive. The descriptor denotes an existing directory. The caller does not have the required permission (according to the MSDN documentation).
public static WriteText ( this me, string text ) : void
me this
text string
리턴 void