System.IO.DirectoryInfo.GetDisplayName C# (CSharp) 메소드

GetDisplayName() 개인적인 정적인 메소드

private static GetDisplayName ( String originalPath ) : String
originalPath String
리턴 String
        private static String GetDisplayName(String originalPath)
        {
            Debug.Assert(originalPath != null);

            // Desktop documents that the path returned by ToString() should be the original path.
            // For SL/Phone we only gave the directory name regardless of what was passed in.
            return PathHelpers.ShouldReviseDirectoryPathToCurrent(originalPath) ?
                "." :
                originalPath;
        }