System.IO 네임스페이스
파일과 데이터 스트림에 대한 읽기 및 쓰기를 허용하는 형식과 기본 파일 및 디렉터리 지원을 제공하는 형식이 포함되어 있습니다. Contains types that allow reading and writing to files and data streams, and types that provide basic file and directory support.
클래스
BinaryReader |
기본 데이터 형식을 특정 인코딩의 이진 값으로 읽습니다.Reads primitive data types as binary values in a specific encoding. |
BinaryWriter |
기본 이진 형식을 스트림에 쓰고 특정 인코딩으로 된 문자열 쓰기를 지원합니다.Writes primitive types in binary to a stream and supports writing strings in a specific encoding. |
BufferedStream |
다른 스트림에서 작업을 읽고 쓰기 위한 버퍼링 레이어를 추가합니다.Adds a buffering layer to read and write operations on another stream. 이 클래스는 상속될 수 없습니다.This class cannot be inherited. |
Directory |
디렉터리와 하위 디렉터리에서 만들기, 이동 및 열거를 위한 정적 메서드를 노출합니다.Exposes static methods for creating, moving, and enumerating through directories and subdirectories. 이 클래스는 상속될 수 없습니다.This class cannot be inherited. |
DirectoryInfo |
디렉터리 및 하위 디렉터리를 만들고, 이동하고, 열거하는 인스턴스 메서드를 노출합니다.Exposes instance methods for creating, moving, and enumerating through directories and subdirectories. 이 클래스는 상속될 수 없습니다.This class cannot be inherited. |
DirectoryNotFoundException |
파일이나 디렉터리의 일부를 찾을 수 없을 때 throw되는 예외입니다.The exception that is thrown when part of a file or directory cannot be found. |
DriveInfo |
드라이브 정보에 액세스합니다.Provides access to information on a drive. |
DriveNotFoundException |
사용할 수 없는 드라이브나 공유에 액세스하려고 할 때 throw되는 예외입니다.The exception that is thrown when trying to access a drive or share that is not available. |
EndOfStreamException |
읽을 때 throw되는 예외가 스트림의 끝을 지나 시도됩니다.The exception that is thrown when reading is attempted past the end of a stream. |
EnumerationOptions |
파일 및 디렉터리 열거 옵션을 제공합니다.Provides file and directory enumeration options. |
ErrorEventArgs | |
File |
단일 파일에 대한 만들기, 복사, 삭제, 이동 및 열기를 위한 정적 메서드를 제공하고 FileStream 개체 만들기를 지원합니다.Provides static methods for the creation, copying, deletion, moving, and opening of a single file, and aids in the creation of FileStream objects. |
FileFormatException |
특정 파일 형식 사양을 따라야 할 입력 파일이나 데이터 스트림의 형식이 올바르지 않은 경우 throw되는 예외입니다.The exception that is thrown when an input file or a data stream that is supposed to conform to a certain file format specification is malformed. |
FileInfo |
파일을 만들고, 복사하고, 삭제하고, 이동하고, 열기 위한 속성 및 인스턴스 메서드를 제공하고, FileStream 개체를 만드는 것을 도와줍니다.Provides properties and instance methods for the creation, copying, deletion, moving, and opening of files, and aids in the creation of FileStream objects. 이 클래스는 상속될 수 없습니다.This class cannot be inherited. |
FileLoadException |
관리되는 어셈블리를 찾을 수는 있지만 로드할 수 없는 경우 throw되는 예외입니다.The exception that is thrown when a managed assembly is found but cannot be loaded. |
FileNotFoundException |
디스크에 없는 파일에 대한 액세스 시도가 실패한 경우에 throw되는 예외입니다.The exception that is thrown when an attempt to access a file that does not exist on disk fails. |
FileStream |
파일에 대해 Stream을 제공하여 동기 및 비동기 읽기/쓰기 작업을 모두 지원합니다.Provides a Stream for a file, supporting both synchronous and asynchronous read and write operations. |
FileSystemAclExtensions |
파일 및 디렉터리의 ACL(액세스 제어 목록) 보안 속성을 조작하기 위한 Windows 전용 정적 확장 메서드를 제공합니다.Provides Windows-specific static extension methods for manipulating Access Control List (ACL) security attributes for files and directories. |
FileSystemEventArgs |
디렉터리 이벤트 Changed, Created 및 Deleted에 대한 데이터를 제공합니다.Provides data for the directory events: Changed, Created, Deleted. |
FileSystemInfo |
FileInfo 및 DirectoryInfo 개체에 대한 기본 클래스를 제공합니다.Provides the base class for both FileInfo and DirectoryInfo objects. |
FileSystemWatcher |
파일 시스템 변경 알림을 수신하면서 디렉터리 또는 디렉터리의 파일이 변경되면 이벤트를 발생시킵니다.Listens to the file system change notifications and raises events when a directory, or file in a directory, changes. |
InternalBufferOverflowException |
내부 버퍼가 오버플로될 때 throw되는 예외입니다.The exception thrown when the internal buffer overflows. |
InvalidDataException |
데이터 스트림의 형식이 잘못된 경우 throw되는 예외입니다.The exception that is thrown when a data stream is in an invalid format. |
IODescriptionAttribute |
이벤트, Extender, 또는 속성을 참조할 때 비주얼 디자이너에서 표시할 수 있는 설명을 설정합니다.Sets the description visual designers can display when referencing an event, extender, or property. |
IOException |
I/O 오류가 발생하는 경우에 throw되는 예외입니다.The exception that is thrown when an I/O error occurs. |
MemoryStream |
백업 저장소가 메모리인 스트림을 만듭니다.Creates a stream whose backing store is memory. |
Path |
파일이나 디렉터리 경로 정보를 포함하는 String 인스턴스에 대한 작업을 수행합니다.Performs operations on String instances that contain file or directory path information. 이러한 작업은 플랫폼 간에 호환되는 방식으로 수행됩니다.These operations are performed in a cross-platform manner. |
PathTooLongException |
경로나 정규화된 파일 이름이 시스템에서 정의한 최대 길이보다 더 긴 경우에 throw되는 예외입니다.The exception that is thrown when a path or fully qualified file name is longer than the system-defined maximum length. |
PipeException |
명명된 파이프에서 오류가 발생하면 throw됩니다.Thrown when an error occurs within a named pipe. |
RenamedEventArgs |
Renamed 이벤트에 대한 데이터를 제공합니다.Provides data for the Renamed event. |
Stream |
바이트 시퀀스에 대한 일반 뷰를 제공합니다.Provides a generic view of a sequence of bytes. 이 클래스는 추상 클래스입니다.This is an abstract class. |
StreamReader |
특정 인코딩의 바이트 스트림에서 문자를 읽는 TextReader 를 구현합니다.Implements a TextReader that reads characters from a byte stream in a particular encoding. |
StreamWriter |
TextWriter를 구현하여 특정 인코딩의 스트림에 문자를 씁니다.Implements a TextWriter for writing characters to a stream in a particular encoding. |
StringReader |
문자열에서 읽어오는 TextReader를 구현합니다.Implements a TextReader that reads from a string. |
StringWriter |
문자열에 정보를 작성하는 TextWriter 를 구현합니다.Implements a TextWriter for writing information to a string. 정보는 기본 StringBuilder에 저장됩니다.The information is stored in an underlying StringBuilder. |
TextReader |
여러 개의 문자를 순차적으로 읽을 수 있는 판독기를 나타냅니다.Represents a reader that can read a sequential series of characters. |
TextWriter |
일련의 문자를 연속하여 쓸 수 있는 작성기를 나타냅니다.Represents a writer that can write a sequential series of characters. 이 클래스는 추상 클래스입니다.This class is abstract. |
UnmanagedMemoryAccessor |
관리 코드에서 관리되지 않는 메모리 블록에 임의로 액세스할 수 있도록 합니다.Provides random access to unmanaged blocks of memory from managed code. |
UnmanagedMemoryStream |
관리 코드에서 관리되지 않는 메모리 블록에 액세스할 수 있도록 합니다.Provides access to unmanaged blocks of memory from managed code. |
WindowsRuntimeStorageExtensions |
Windows 스토어 앱을 개발하는 경우 Windows 런타임의 IStorageFile 및 IStorageFolder 인터페이스에 대한 확장 메서드를 포함합니다.Contains extension methods for the IStorageFile and IStorageFolder interfaces in the Windows Runtime when developing Windows Store apps. |
WindowsRuntimeStreamExtensions |
Windows 런타임의 스트림과 Windows 스토어 앱용 .NET의 관리형 스트림 간 변환을 위한 확장 메서드를 포함합니다.Contains extension methods for converting between streams in the Windows Runtime and managed streams in the .NET for Windows Store apps. |
구조체
WaitForChangedResult |
발생한 변경 내용에 대한 정보를 포함합니다.Contains information on the change that occurred. |
열거형
DriveType |
CDRom, Fixed, Network, NoRootDirectory, Ram, Removable 및 Unknown과 같은 드라이브 형식에 대한 상수를 정의합니다.Defines constants for drive types, including CDRom, Fixed, Network, NoRootDirectory, Ram, Removable, and Unknown. |
FileAccess |
파일에 대한 읽기, 쓰기 또는 읽기/쓰기 액세스 권한에 대한 상수를 정의합니다.Defines constants for read, write, or read/write access to a file. |
FileAttributes |
파일과 디렉터리에 특성을 제공합니다.Provides attributes for files and directories. |
FileMode |
운영 체제에서 파일을 여는 방법을 지정합니다.Specifies how the operating system should open a file. |
FileOptions |
FileStream 개체를 만들기 위한 고급 옵션을 나타냅니다.Represents advanced options for creating a FileStream object. |
FileShare |
동일한 파일에 대해 다른 FileStream 개체가 가질 수 있는 액세스 종류를 제어하는 상수를 포함합니다.Contains constants for controlling the kind of access other FileStream objects can have to the same file. |
HandleInheritability |
기본 핸들을 자식 프로세스에 상속할 수 있는지 여부를 지정합니다.Specifies whether the underlying handle is inheritable by child processes. |
MatchCasing |
일치시킬 문자 대/소문자 유형을 지정합니다.Specifies the type of character casing to match. |
MatchType |
사용할 와일드카드 일치 유형을 지정합니다.Specifies the type of wildcard matching to use. |
NotifyFilters |
파일 또는 폴더에서 조사할 변경 내용을 지정합니다.Specifies changes to watch for in a file or folder. |
SearchOption |
현재 디렉터리를 검색할 것인지 또는 현재 디렉터리와 모든 하위 디렉터리를 검색할 것인지 여부를 지정합니다.Specifies whether to search the current directory, or the current directory and all subdirectories. |
SeekOrigin |
탐색에 사용할 스트림 내 위치를 지정합니다.Specifies the position in a stream to use for seeking. |
WatcherChangeTypes |
파일 또는 디렉터리에 대해 발생할 수 있는 변경 내용입니다.Changes that might occur to a file or directory. |
대리자
ErrorEventHandler |
Error 개체의 FileSystemWatcher 이벤트를 처리할 메서드를 나타냅니다.Represents the method that will handle the Error event of a FileSystemWatcher object. |
FileSystemEventHandler |
Changed 클래스의 Created, Deleted, 또는 FileSystemWatcher 이벤트를 처리할 메서드를 나타냅니다.Represents the method that will handle the Changed, Created, or Deleted event of a FileSystemWatcher class. |
RenamedEventHandler |
Renamed 클래스의 FileSystemWatcher 이벤트를 처리할 메서드를 나타냅니다.Represents the method that will handle the Renamed event of a FileSystemWatcher class. |