Метод | Описание | |
---|---|---|
EnsureDirectoryExists ( ) : void |
Calling this will create the directory if it does not exist
|
|
Exists ( ) : bool |
First checks if the directory exists, than checks if file exists
|
|
PathInfo ( string fullPath ) : System |
Initializes a new instance of the T:PathInfo class.
|
|
PathInfo ( string fullPath, bool parseFile ) : System |
Initializes a new instance of the T:PathInfo class.
|
|
PathInfo ( string path, string file, string ext ) : System |
Initializes a new instance of the T:PathInfo class.
|
|
ToString ( ) : string |
Returns a
|
|
ToStringExt ( string newExt ) : string |
String representation of this path, with the supplied extension added on instead of the one this object was constructed with
|
public PathInfo ( string fullPath ) : System | ||
fullPath | string | The full path. |
Результат | System |
public PathInfo ( string fullPath, bool parseFile ) : System | ||
fullPath | string | The full path. |
parseFile | bool | if set to |
Результат | System |
public PathInfo ( string path, string file, string ext ) : System | ||
path | string | The path. |
file | string | The file. |
ext | string | The ext. |
Результат | System |
public ToStringExt ( string newExt ) : string | ||
newExt | string | The extension that will replace the one in Ext |
Результат | string |