C# 클래스 System.IO.Win32FileSystem

상속: FileSystem
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

공개 메소드들

메소드 설명
CopyFile ( string sourceFullPath, string destFullPath, bool overwrite ) : void
DeleteFile ( System fullPath ) : void
DirectoryExists ( string fullPath ) : bool
EnumerateFileSystemInfos ( string fullPath, string searchPattern, SearchOption searchOption, SearchTarget searchTarget ) : IEnumerable
EnumeratePaths ( string fullPath, string searchPattern, SearchOption searchOption, SearchTarget searchTarget ) : IEnumerable
FileExists ( System fullPath ) : bool
GetAttributes ( string fullPath ) : FileAttributes
GetCreationTime ( string fullPath ) : DateTimeOffset
GetCurrentDirectory ( ) : string
GetFileSystemInfo ( string fullPath, bool asDirectory ) : IFileSystemObject
GetLastAccessTime ( string fullPath ) : DateTimeOffset
GetLastWriteTime ( string fullPath ) : DateTimeOffset
GetLogicalDrives ( ) : string[]
MoveDirectory ( string sourceFullPath, string destFullPath ) : void
MoveFile ( string sourceFullPath, string destFullPath ) : void
Open ( string fullPath, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options, FileStream parent ) : FileStream
RemoveDirectory ( string fullPath, bool recursive ) : void
ReplaceFile ( string sourceFullPath, string destFullPath, string destBackupFullPath, bool ignoreMetadataErrors ) : void
SetAttributes ( string fullPath, FileAttributes attributes ) : void
SetCreationTime ( string fullPath, DateTimeOffset time, bool asDirectory ) : void
SetCurrentDirectory ( string fullPath ) : void
SetLastAccessTime ( string fullPath, DateTimeOffset time, bool asDirectory ) : void
SetLastWriteTime ( string fullPath, DateTimeOffset time, bool asDirectory ) : void

비공개 메소드들

메소드 설명
CreateDirectory ( string fullPath ) : void
DirectoryExists ( String path, int &lastError ) : bool
FillAttributeInfo ( String path, Interop &data, bool tryagain, bool returnErrorOnNotFound ) : int
OpenHandle ( string fullPath, bool asDirectory ) : SafeFileHandle
RemoveDirectoryHelper ( string fullPath, bool recursive, bool throwOnTopLevelDirectoryNotFound ) : void
SetAttributesInternal ( string fullPath, FileAttributes attributes ) : void
SetCreationTimeInternal ( string fullPath, DateTimeOffset time, bool asDirectory ) : void
SetLastAccessTimeInternal ( string fullPath, DateTimeOffset time, bool asDirectory ) : void
SetLastWriteTimeInternal ( string fullPath, DateTimeOffset time, bool asDirectory ) : void

메소드 상세

CopyFile() 공개 메소드

public CopyFile ( string sourceFullPath, string destFullPath, bool overwrite ) : void
sourceFullPath string
destFullPath string
overwrite bool
리턴 void

DeleteFile() 공개 메소드

public DeleteFile ( System fullPath ) : void
fullPath System
리턴 void

DirectoryExists() 공개 메소드

public DirectoryExists ( string fullPath ) : bool
fullPath string
리턴 bool

EnumerateFileSystemInfos() 공개 메소드

public EnumerateFileSystemInfos ( string fullPath, string searchPattern, SearchOption searchOption, SearchTarget searchTarget ) : IEnumerable
fullPath string
searchPattern string
searchOption SearchOption
searchTarget SearchTarget
리턴 IEnumerable

EnumeratePaths() 공개 메소드

public EnumeratePaths ( string fullPath, string searchPattern, SearchOption searchOption, SearchTarget searchTarget ) : IEnumerable
fullPath string
searchPattern string
searchOption SearchOption
searchTarget SearchTarget
리턴 IEnumerable

FileExists() 공개 메소드

public FileExists ( System fullPath ) : bool
fullPath System
리턴 bool

GetAttributes() 공개 메소드

public GetAttributes ( string fullPath ) : FileAttributes
fullPath string
리턴 FileAttributes

GetCreationTime() 공개 메소드

public GetCreationTime ( string fullPath ) : DateTimeOffset
fullPath string
리턴 DateTimeOffset

GetCurrentDirectory() 공개 메소드

public GetCurrentDirectory ( ) : string
리턴 string

GetFileSystemInfo() 공개 메소드

public GetFileSystemInfo ( string fullPath, bool asDirectory ) : IFileSystemObject
fullPath string
asDirectory bool
리턴 IFileSystemObject

GetLastAccessTime() 공개 메소드

public GetLastAccessTime ( string fullPath ) : DateTimeOffset
fullPath string
리턴 DateTimeOffset

GetLastWriteTime() 공개 메소드

public GetLastWriteTime ( string fullPath ) : DateTimeOffset
fullPath string
리턴 DateTimeOffset

GetLogicalDrives() 공개 메소드

public GetLogicalDrives ( ) : string[]
리턴 string[]

MoveDirectory() 공개 메소드

public MoveDirectory ( string sourceFullPath, string destFullPath ) : void
sourceFullPath string
destFullPath string
리턴 void

MoveFile() 공개 메소드

public MoveFile ( string sourceFullPath, string destFullPath ) : void
sourceFullPath string
destFullPath string
리턴 void

Open() 공개 메소드

public Open ( string fullPath, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options, FileStream parent ) : FileStream
fullPath string
mode FileMode
access FileAccess
share FileShare
bufferSize int
options FileOptions
parent FileStream
리턴 FileStream

RemoveDirectory() 공개 메소드

public RemoveDirectory ( string fullPath, bool recursive ) : void
fullPath string
recursive bool
리턴 void

ReplaceFile() 공개 메소드

public ReplaceFile ( string sourceFullPath, string destFullPath, string destBackupFullPath, bool ignoreMetadataErrors ) : void
sourceFullPath string
destFullPath string
destBackupFullPath string
ignoreMetadataErrors bool
리턴 void

SetAttributes() 공개 메소드

public SetAttributes ( string fullPath, FileAttributes attributes ) : void
fullPath string
attributes FileAttributes
리턴 void

SetCreationTime() 공개 메소드

public SetCreationTime ( string fullPath, DateTimeOffset time, bool asDirectory ) : void
fullPath string
time DateTimeOffset
asDirectory bool
리턴 void

SetCurrentDirectory() 공개 메소드

public SetCurrentDirectory ( string fullPath ) : void
fullPath string
리턴 void

SetLastAccessTime() 공개 메소드

public SetLastAccessTime ( string fullPath, DateTimeOffset time, bool asDirectory ) : void
fullPath string
time DateTimeOffset
asDirectory bool
리턴 void

SetLastWriteTime() 공개 메소드

public SetLastWriteTime ( string fullPath, DateTimeOffset time, bool asDirectory ) : void
fullPath string
time DateTimeOffset
asDirectory bool
리턴 void