コード例 #1
0
 public ComponentList(PathInfo pathInfo)
 {
     mPathInfo = pathInfo;
 }
コード例 #2
0
ファイル: Path.cs プロジェクト: CDEApp/CDE
        /// <summary>
        /// Returns the absolute path for the specified path string.
        /// </summary>
        /// <param name="path">The file or directory for which to obtain absolute path information.</param>
        /// <returns>A string containing the fully qualified location of path, such as "C:\MyFile.txt".</returns>
        public static string GetFullPath(string path)
        {
            PathInfo p = new PathInfo(path);

            return(p.GetFullPath());
        }