Esempio n. 1
0
        private SPListLookupKey GetListInfoFromUrl(string listUrl)
        {
            SPFolder folder = (SPFolder)contextSite.GetFileOrFolder(listUrl);

            if (folder == null)
            {
                throw new ArgumentException("listUrl");
            }
            return(new SPListLookupKey(folder.ParentWeb.ID, folder.ParentListId));
        }