C# 클래스 System.IO.DirectoryInfo

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

공개 메소드들

메소드 설명
CreateSubdirectory ( string path ) : System.IO.DirectoryInfo
DirectoryInfo ( string path )
EnumerateDirectories ( ) : IEnumerable
EnumerateDirectories ( String searchPattern ) : IEnumerable
EnumerateDirectories ( String searchPattern, SearchOption searchOption ) : IEnumerable
EnumerateDirectories ( ) : System.Collections.Generic.IEnumerable
EnumerateDirectories ( string searchPattern ) : System.Collections.Generic.IEnumerable
EnumerateDirectories ( string searchPattern, System searchOption ) : System.Collections.Generic.IEnumerable
EnumerateFileSystemInfos ( ) : IEnumerable
EnumerateFileSystemInfos ( String searchPattern ) : IEnumerable
EnumerateFileSystemInfos ( String searchPattern, SearchOption searchOption ) : IEnumerable
EnumerateFileSystemInfos ( ) : System.Collections.Generic.IEnumerable
EnumerateFileSystemInfos ( string searchPattern ) : System.Collections.Generic.IEnumerable
EnumerateFileSystemInfos ( string searchPattern, System searchOption ) : System.Collections.Generic.IEnumerable
EnumerateFiles ( ) : IEnumerable
EnumerateFiles ( String searchPattern ) : IEnumerable
EnumerateFiles ( String searchPattern, SearchOption searchOption ) : IEnumerable
EnumerateFiles ( ) : System.Collections.Generic.IEnumerable
EnumerateFiles ( string searchPattern ) : System.Collections.Generic.IEnumerable
EnumerateFiles ( string searchPattern, System searchOption ) : System.Collections.Generic.IEnumerable
GetDirectories ( ) : System.IO.DirectoryInfo[]
GetDirectories ( String searchPattern ) : System.IO.DirectoryInfo[]
GetDirectories ( String searchPattern, SearchOption searchOption ) : System.IO.DirectoryInfo[]
GetDirectories ( ) : System.IO.DirectoryInfo[]
GetDirectories ( string searchPattern ) : System.IO.DirectoryInfo[]
GetDirectories ( string searchPattern, System searchOption ) : System.IO.DirectoryInfo[]
GetFileSystemInfos ( ) : System.IO.FileSystemInfo[]
GetFileSystemInfos ( String searchPattern ) : System.IO.FileSystemInfo[]
GetFileSystemInfos ( String searchPattern, SearchOption searchOption ) : System.IO.FileSystemInfo[]
GetFileSystemInfos ( ) : System.IO.FileSystemInfo[]
GetFileSystemInfos ( string searchPattern ) : System.IO.FileSystemInfo[]
GetFileSystemInfos ( string searchPattern, System searchOption ) : System.IO.FileSystemInfo[]
GetFiles ( ) : System.IO.FileInfo[]
GetFiles ( String searchPattern, SearchOption searchOption ) : System.IO.FileInfo[]
GetFiles ( ) : System.IO.FileInfo[]
GetFiles ( string searchPattern ) : System.IO.FileInfo[]
GetFiles ( string searchPattern, System searchOption ) : System.IO.FileInfo[]
MoveTo ( string destDirName ) : void
ToString ( ) : String

Returns the original path. Use FullPath or Name properties for the path / directory name.

ToString ( ) : string

비공개 메소드들

메소드 설명
Create ( ) : void
CreateSubdirectory ( String path ) : DirectoryInfo
CreateSubdirectoryHelper ( String path ) : DirectoryInfo
Delete ( ) : void
Delete ( bool recursive ) : void
DirectoryInfo ( SerializationInfo info, StreamingContext context ) : System.Collections.Generic
DirectoryInfo ( String path ) : System.Collections.Generic
DirectoryInfo ( String fullPath, String originalPath ) : System.Collections.Generic
DirectoryInfo ( string fullPath, Interop &findData ) : System.Diagnostics
GetDirName ( String fullPath ) : String
GetDisplayName ( String originalPath ) : String
GetFiles ( String searchPattern ) : System.IO.FileInfo[]
InternalEnumerateDirectories ( String searchPattern, SearchOption searchOption ) : IEnumerable
InternalEnumerateFileSystemInfos ( String searchPattern, SearchOption searchOption ) : IEnumerable
InternalEnumerateFiles ( String searchPattern, SearchOption searchOption ) : IEnumerable
InternalGetDirectories ( String searchPattern, SearchOption searchOption ) : System.IO.DirectoryInfo[]
InternalGetFileSystemInfos ( String searchPattern, SearchOption searchOption ) : System.IO.FileSystemInfo[]
InternalGetFiles ( String searchPattern, SearchOption searchOption ) : System.IO.FileInfo[]
MoveTo ( String destDirName ) : void

메소드 상세

CreateSubdirectory() 공개 메소드

public CreateSubdirectory ( string path ) : System.IO.DirectoryInfo
path string
리턴 System.IO.DirectoryInfo

DirectoryInfo() 공개 메소드

public DirectoryInfo ( string path )
path string

EnumerateDirectories() 공개 메소드

public EnumerateDirectories ( ) : IEnumerable
리턴 IEnumerable

EnumerateDirectories() 공개 메소드

public EnumerateDirectories ( String searchPattern ) : IEnumerable
searchPattern String
리턴 IEnumerable

EnumerateDirectories() 공개 메소드

public EnumerateDirectories ( String searchPattern, SearchOption searchOption ) : IEnumerable
searchPattern String
searchOption SearchOption
리턴 IEnumerable

EnumerateDirectories() 공개 메소드

public EnumerateDirectories ( ) : System.Collections.Generic.IEnumerable
리턴 System.Collections.Generic.IEnumerable

EnumerateDirectories() 공개 메소드

public EnumerateDirectories ( string searchPattern ) : System.Collections.Generic.IEnumerable
searchPattern string
리턴 System.Collections.Generic.IEnumerable

EnumerateDirectories() 공개 메소드

public EnumerateDirectories ( string searchPattern, System searchOption ) : System.Collections.Generic.IEnumerable
searchPattern string
searchOption System
리턴 System.Collections.Generic.IEnumerable

EnumerateFileSystemInfos() 공개 메소드

public EnumerateFileSystemInfos ( ) : IEnumerable
리턴 IEnumerable

EnumerateFileSystemInfos() 공개 메소드

public EnumerateFileSystemInfos ( String searchPattern ) : IEnumerable
searchPattern String
리턴 IEnumerable

EnumerateFileSystemInfos() 공개 메소드

public EnumerateFileSystemInfos ( String searchPattern, SearchOption searchOption ) : IEnumerable
searchPattern String
searchOption SearchOption
리턴 IEnumerable

EnumerateFileSystemInfos() 공개 메소드

public EnumerateFileSystemInfos ( ) : System.Collections.Generic.IEnumerable
리턴 System.Collections.Generic.IEnumerable

EnumerateFileSystemInfos() 공개 메소드

public EnumerateFileSystemInfos ( string searchPattern ) : System.Collections.Generic.IEnumerable
searchPattern string
리턴 System.Collections.Generic.IEnumerable

EnumerateFileSystemInfos() 공개 메소드

public EnumerateFileSystemInfos ( string searchPattern, System searchOption ) : System.Collections.Generic.IEnumerable
searchPattern string
searchOption System
리턴 System.Collections.Generic.IEnumerable

EnumerateFiles() 공개 메소드

public EnumerateFiles ( ) : IEnumerable
리턴 IEnumerable

EnumerateFiles() 공개 메소드

public EnumerateFiles ( String searchPattern ) : IEnumerable
searchPattern String
리턴 IEnumerable

EnumerateFiles() 공개 메소드

public EnumerateFiles ( String searchPattern, SearchOption searchOption ) : IEnumerable
searchPattern String
searchOption SearchOption
리턴 IEnumerable

EnumerateFiles() 공개 메소드

public EnumerateFiles ( ) : System.Collections.Generic.IEnumerable
리턴 System.Collections.Generic.IEnumerable

EnumerateFiles() 공개 메소드

public EnumerateFiles ( string searchPattern ) : System.Collections.Generic.IEnumerable
searchPattern string
리턴 System.Collections.Generic.IEnumerable

EnumerateFiles() 공개 메소드

public EnumerateFiles ( string searchPattern, System searchOption ) : System.Collections.Generic.IEnumerable
searchPattern string
searchOption System
리턴 System.Collections.Generic.IEnumerable

GetDirectories() 공개 메소드

public GetDirectories ( ) : System.IO.DirectoryInfo[]
리턴 System.IO.DirectoryInfo[]

GetDirectories() 공개 메소드

public GetDirectories ( String searchPattern ) : System.IO.DirectoryInfo[]
searchPattern String
리턴 System.IO.DirectoryInfo[]

GetDirectories() 공개 메소드

public GetDirectories ( String searchPattern, SearchOption searchOption ) : System.IO.DirectoryInfo[]
searchPattern String
searchOption SearchOption
리턴 System.IO.DirectoryInfo[]

GetDirectories() 공개 메소드

public GetDirectories ( ) : System.IO.DirectoryInfo[]
리턴 System.IO.DirectoryInfo[]

GetDirectories() 공개 메소드

public GetDirectories ( string searchPattern ) : System.IO.DirectoryInfo[]
searchPattern string
리턴 System.IO.DirectoryInfo[]

GetDirectories() 공개 메소드

public GetDirectories ( string searchPattern, System searchOption ) : System.IO.DirectoryInfo[]
searchPattern string
searchOption System
리턴 System.IO.DirectoryInfo[]

GetFileSystemInfos() 공개 메소드

public GetFileSystemInfos ( ) : System.IO.FileSystemInfo[]
리턴 System.IO.FileSystemInfo[]

GetFileSystemInfos() 공개 메소드

public GetFileSystemInfos ( String searchPattern ) : System.IO.FileSystemInfo[]
searchPattern String
리턴 System.IO.FileSystemInfo[]

GetFileSystemInfos() 공개 메소드

public GetFileSystemInfos ( String searchPattern, SearchOption searchOption ) : System.IO.FileSystemInfo[]
searchPattern String
searchOption SearchOption
리턴 System.IO.FileSystemInfo[]

GetFileSystemInfos() 공개 메소드

public GetFileSystemInfos ( ) : System.IO.FileSystemInfo[]
리턴 System.IO.FileSystemInfo[]

GetFileSystemInfos() 공개 메소드

public GetFileSystemInfos ( string searchPattern ) : System.IO.FileSystemInfo[]
searchPattern string
리턴 System.IO.FileSystemInfo[]

GetFileSystemInfos() 공개 메소드

public GetFileSystemInfos ( string searchPattern, System searchOption ) : System.IO.FileSystemInfo[]
searchPattern string
searchOption System
리턴 System.IO.FileSystemInfo[]

GetFiles() 공개 메소드

public GetFiles ( ) : System.IO.FileInfo[]
리턴 System.IO.FileInfo[]

GetFiles() 공개 메소드

public GetFiles ( String searchPattern, SearchOption searchOption ) : System.IO.FileInfo[]
searchPattern String
searchOption SearchOption
리턴 System.IO.FileInfo[]

GetFiles() 공개 메소드

public GetFiles ( ) : System.IO.FileInfo[]
리턴 System.IO.FileInfo[]

GetFiles() 공개 메소드

public GetFiles ( string searchPattern ) : System.IO.FileInfo[]
searchPattern string
리턴 System.IO.FileInfo[]

GetFiles() 공개 메소드

public GetFiles ( string searchPattern, System searchOption ) : System.IO.FileInfo[]
searchPattern string
searchOption System
리턴 System.IO.FileInfo[]

MoveTo() 공개 메소드

public MoveTo ( string destDirName ) : void
destDirName string
리턴 void

ToString() 공개 메소드

Returns the original path. Use FullPath or Name properties for the path / directory name.
public ToString ( ) : String
리턴 String

ToString() 공개 메소드

public ToString ( ) : string
리턴 string