70-573-Csharp.pdf - Microsoft 70-573-Csharp TS Microsoft SharePoint 2010 Application Development Download Full Version

70-573-Csharp.pdf - Microsoft 70-573-Csharp TS Microsoft...

This preview shows page 1 - 4 out of 17 pages.

Microsoft 70-573-Csharp TS: Microsoft SharePoint 2010, Application Development Download Full Version :
Image of page 1
it'll also give youaccess to a few other assemblies/namespaces. If the goal is to minimize the amount of privileges, then CAS is the way to go. Securing Web Parts in SharePoint Foundation - us/library/cc768613.aspx QUESTION: 157 You are creating two Web Parts named WPMaster and WPDetails. You need to ensure that when an item is selected from WPMaster, the details of the item are displayed in WPDetails. What should you implement in WPMaster? A. ICellProvider B. IListProvider C. IWebPartRow D. IWebPartTable Answer: C Explanation: MNEMONIC RULE: "Web Part item = IWebpartRow" ICellProvider is now obsolete, you should use IWebPartField instead. This gives you a single field of data towork with. IListProvider is now obsolete, you should use IWebPartTable instead. IWebPartTable gives you an entire table of data. Defines a provider interface for connecting two server controls using a single row of data. IWebPartRow Interface - us/library/system.web.ui.webcontrols.webparts.iwebpartrow.aspx QUESTION: 158 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.) 01 SPSite site = SPContext.Current.Site; 02 SPWeb web = SPContext.Current.Web; 03 Which code segment should you add at line 03? A. site.AllWebs[1].Files; B. Site.RootWeb.Lists[0].Items; C. web.Files; D. web.RootFolder.SubFolders[0].Files ; web.Users.Add(currentUser.LoginName, currentUser.Email, currentUser.Name, ""); Answer: C
Image of page 2
Explanation: MNEMONIC RULE: "current subsite = web = web.Files" Gets the collection of all files in the root directory of the website. SPWeb.Files Property QUESTION: 159 You create a Feature named Feature1. Feature1 is activated in a SharePoint site. You create a Web Part that contains the following code. SPSite site = new SPSite(""); SPWeb web = site.OpenWeb(); SPFeatureDefinition feature = SPFarm.Local.FeatureDefinitions["Feature1"]; You need to modify the Web Part to activate Feature1 in Site1 only. Which code segment should you add to the Web Part? A. site.Features.Add(feature.Id); B. site.WebApplication.WebService.Features.Add(feature.Id); C. web.Features.Add(feature.Id); D. web.Site.WebApplication.WebService.Features.Add(feature.Id); Answer: C Explanation: MNEMONIC RULE: "add feature to " This question is confusing. site object is a SharePoint site collection with beingthe root site (or root web) of this collection.
Image of page 3
Image of page 4

You've reached the end of your free preview.

Want to read all 17 pages?

  • Spring '18
  • Dr. Moez
  • Microsoft SharePoint, Code segment, SharePoint, Microsoft Office SharePoint Designer, Windows SharePoint Services, mnemonic rule, Justcertify 70-573-Csharp, Certqueen 70-573-Csharp, 70-573-Csharp Discount Coupon, Free 70-573-Csharp Vce, Download Free 70-573-Csharp Du

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes