System::IO::File::ReadAllText 메서드
File::ReadAllText method
지정된 텍스트 파일의 내용을 지정된 문자 인코딩을 사용하여 단일 String 객체로 읽습니다.
static String System::IO::File::ReadAllText(const String &path, const EncodingPtr &encoding=Text::Encoding::get_UTF8())
| 매개변수 | 형식 | 설명 |
|---|---|---|
| 경로 | const String& | 읽을 파일의 경로 |
| encoding | const EncodingPtr& | 사용할 문자 인코딩 |
ReturnValue
지정된 파일의 내용을 포함하는 문자열
또 보기
- Class String
- Typedef EncodingPtr
- Class File
- Namespace System::IO
- Library Aspose.Page for C++