GetFileExtension() public static method

Return only the extension of given file path
public static GetFileExtension ( String filePath ) : String
filePath String the full path of the file with file name
return String
Beispiel #1
0
 /// <summary>
 /// Return only ext
 /// </summary>
 /// <returns>ext</returns>
 public String GetFileExt()
 {
     return(FolderHelper.GetFileExtension(saveFileDialog.FileName));
 }