GetFileExtension() public static méthode

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
Résultat String
Exemple #1
0
 /// <summary>
 /// Return only ext
 /// </summary>
 /// <returns>ext</returns>
 public String GetFileExt()
 {
     return(FolderHelper.GetFileExtension(saveFileDialog.FileName));
 }