Microsoft
70-573 · Question #105
You are creating a Microsoft .NET Framework application that will display the title of the SharePoint site and will execute outside of the SharePoint server. You create a textbox named textBoxTitle…
The correct answer is B. Add the following line of code at line 05. See the full explanation below for the reasoning.
Question
You are creating a Microsoft .NET Framework application that will display the title of the SharePoint site and will execute outside of the SharePoint server. You create a textbox named textBoxTitle. You write the following code segment. (Line numbers are included for reference only.) 02 03 Web site = context.Web; 04 context.Load(site) ; 05 06 textBoxTitle.Text = site.Title; You discover that line 0 6 generates an error. You need to ensure that the .NET application displays the title of the SharePoint site in textBoxTitle. What should you do?
Options
- AAdd the following line of code at line 02.
- BAdd the following line of code at line 05.
- CAdd the following line of code at line 05.
- DAdd the following line of code at line 02.
How the community answered
(38 responses)- A8% (3)
- B84% (32)
- C5% (2)
- D3% (1)
Community Discussion
No community discussion yet for this question.