System::IO::File::Create 메서드

File::Create method

새 파일을 생성(또는 기존 파일을 덮어쓰기)하고, 지정된 버퍼 크기와 옵션을 사용하여 읽기 및 쓰기 접근으로 엽니다.

static FileStreamPtr System::IO::File::Create(const String &path, int32_t bufferSize=DefaultBufferSize, FileOptions options=FileOptions::None)
매개변수형식설명
경로const String&생성하거나 덮어쓸 파일의 경로
bufferSizeint32_t파일을 읽고 쓸 때 버퍼링되는 바이트 수
옵션FileOptions파일을 생성하거나 덮어쓸 방법을 지정합니다

ReturnValue

지정된 파일과 연결된 FileStream 객체에 대한 공유 포인터

또 보기