static public string GetUUID(sh_id_v5 sh_id_v5) { switch (sh_id_v5) { case sh_id_v5.DIDiskQuotaUser: return(DIDiskQuotaUser); case sh_id_v5.DiskQuotaControl: return(DiskQuotaControl); case sh_id_v5.Folder2: return(Folder2); case sh_id_v5.FolderItem: return(FolderItem); case sh_id_v5.FolderItems: return(FolderItems); case sh_id_v5.FolderItems2: return(FolderItems2); case sh_id_v5.IShellDispatch2: return(IShellDispatch2); case sh_id_v5.IShellLinkDual2: return(IShellLinkDual2); case sh_id_v5.ShellFolderItem: return(ShellFolderItem); case sh_id_v5.ShellFolderViewOC: return(ShellFolderViewOC); case sh_id_v5.ShellLinkObject: return(ShellLinkObject); case sh_id_v5.ShellWindows: return(ShellWindows); default: return(string.Empty); } }
public Guid this[sh_id_v5 Key] { get { return(new Guid(GetUUID(Key))); } }