Method AppendSuffix
AppendSuffix(string, PathSuffix)
Appends the specified well known suffix type to a file name without modifying the extension.
public static string AppendSuffix(string path, PathSuffix suffixType)
Parameters
pathstringThe file name on which to append the suffix.
suffixTypePathSuffixThe suffix type to append.
Returns
- string
The new file name where
pathhas been modified to end with the specifiedsuffixTypebut without modifying the file extension.
AppendSuffix(string, string)
Appends the specified suffix to a file name without modifying its original extension.
public static string AppendSuffix(string path, string suffix)
Parameters
Returns
- string
The new file name where
pathhas been modified to end withsuffixbut without modifying the file extension.