public static string GetDisplayString(string value) { if (String.IsNullOrEmpty(value) == true) { return("<空>"); } string strLibraryCode = ""; string strPureName = ""; LocationCollection.ParseLocationName(value, out strLibraryCode, out strPureName); if (String.IsNullOrEmpty(strPureName) == true) { return(strLibraryCode + "/<空>"); } else { return(value); } }