프로퍼티 | 타입 | 설명 | |
---|---|---|---|
AltDirectorySeparatorChar | char | ||
DirectorySeparatorChar | char | ||
PathSeparator | char | ||
VolumeSeparatorChar | char |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
CombineNoChecks | string | ||
CombineNoChecks | string | ||
CombineNoChecks | string | ||
GetExtension | string | ||
GetFileName | string | ||
GetFileNameWithoutExtension | string | ||
GetRelativePath | string | ||
HasExtension | bool | ||
Populate83FileNameFromRandomBytes | void |
메소드 | 설명 | |
---|---|---|
ChangeExtension ( string path, string extension ) : string | ||
Combine ( ) : string | ||
Combine ( string path1, string path2 ) : string | ||
Combine ( string path1, string path2, string path3 ) : string | ||
Combine ( string path1, string path2, string path3, string path4 ) : string | ||
GetDirectoryName ( string path ) : string | ||
GetFullPath ( string path ) : string | ||
GetInvalidFileNameChars ( ) : char[] | ||
GetInvalidPathChars ( ) : char[] | ||
GetPathRoot ( string path ) : string | ||
GetRandomFileName ( ) : string | ||
GetRelativePath ( string relativeTo, string path ) : string |
Create a relative path from one path to another. Paths will be resolved before calculating the difference. Default path comparison for the active platform will be used (OrdinalIgnoreCase for Windows or Mac, Ordinal for Unix).
|
|
GetTempFileName ( ) : string | ||
GetTempPath ( ) : string | ||
IsPathRooted ( string path ) : bool |
메소드 | 설명 | |
---|---|---|
CombineNoChecks ( string path1, string path2 ) : string | ||
CombineNoChecks ( string path1, string path2, string path3 ) : string | ||
CombineNoChecks ( string path1, string path2, string path3, string path4 ) : string | ||
GetExtension ( string path ) : string | ||
GetFileName ( string path ) : string | ||
GetFileNameWithoutExtension ( string path ) : string | ||
GetRelativePath ( string relativeTo, string path, StringComparison comparisonType ) : string | ||
HasExtension ( string path ) : bool | ||
Populate83FileNameFromRandomBytes ( byte bytes, int byteCount, char chars, int charCount ) : void |
public static ChangeExtension ( string path, string extension ) : string | ||
path | string | |
extension | string | |
리턴 | string |
public static Combine ( string path1, string path2 ) : string | ||
path1 | string | |
path2 | string | |
리턴 | string |
public static Combine ( string path1, string path2, string path3 ) : string | ||
path1 | string | |
path2 | string | |
path3 | string | |
리턴 | string |
public static Combine ( string path1, string path2, string path3, string path4 ) : string | ||
path1 | string | |
path2 | string | |
path3 | string | |
path4 | string | |
리턴 | string |
public static GetDirectoryName ( string path ) : string | ||
path | string | |
리턴 | string |
public static GetRelativePath ( string relativeTo, string path ) : string | ||
relativeTo | string | The source path the output should be relative to. This path is always considered to be a directory. |
path | string | The destination path. |
리턴 | string |