You have a SharePoint site collection that contains 100 subsites. You plan to create a Web Part.
The Web Part will be deployed to each subsite. You need to ensure that the Web Part retrieves all
of the files in the root directory of the current subsite. You write the following code segment. (Line
numbers are included for reference only.) 01Dim site As SPSite = SPContext.Current.Site 02Dim
web As SPWeb = SPContext.Current.Web 03 Which code segment should you add at line 03?
A.
web.RootFolder.SubFolders[0].Files web.Users.Add(currentUser.LoginName,
currentUser.Email, currentUser.Name, “”)
B.
site.AllWebs[1].Files
C.
Site.RootWeb.Lists[0].Items
D.
web.Files