GetPath() public static method

Return the path of the file
public static GetPath ( string FileName ) : string
FileName string
return string
Esempio n. 1
0
        static public void WriteAutoCompleteFile(string autoCompleteStr, string path)
        {
            DrutNETBase.CreateDir(DrutNETBase.GetPath(path));//create directory if not existing
            TextWriter autoCompleteFile = new StreamWriter(path, true);

            autoCompleteFile.WriteLine(autoCompleteStr);
            autoCompleteFile.Close();
        }