FileOutputStream 클래스

정의

파일에 데이터를 씁니다.

public ref class FileOutputStream sealed : IClosable, IOutputStream
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class FileOutputStream final : IClosable, IOutputStream
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class FileOutputStream : System.IDisposable, IOutputStream
Public NotInheritable Class FileOutputStream
Implements IDisposable, IOutputStream
상속
Object Platform::Object IInspectable FileOutputStream
특성
구현

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

메서드

Close()

현재 스트림을 닫고 시스템 리소스를 해제합니다.

Dispose()

관리되지 않는 리소스의 확보, 해제 또는 다시 설정과 관련된 애플리케이션 정의 작업을 수행합니다.

FlushAsync()

순차 스트림에서 데이터를 비동기적으로 플러시합니다.

WriteAsync(IBuffer)

데이터를 파일에 비동기적으로 씁니다.

적용 대상

추가 정보