Microsoft
70-573 · Question #12
70-573 Question #12: Real Exam Question with Answer & Explanation
Sign in or unlock 70-573 to reveal the answer and full explanation for question #12. The question stem and answer options stay visible for context.
Question
You have a custom theme named MyTheme . The theme is defined in a file named MyTheme.thmx . You have a console application that contains the following code segment. (Line numbers are included for reference only.) 02 { 03 SPWeb web-site.OpenWeb (); 01 05 } You need to programmatically apply the theme to a SharePoint site. Which code segment should you add to the console application?
Options
- AThmxTheme.SetThemeUrlForWeb(web, "/_catalogs/theme/MyTheme.thmx",
- Bweb.AlternateCssUrl = "/_themes/MyTheme";
- Cweb.ApplyWebTemplate("MyTheme.thmx");
- Dweb.ThemedCssFolderUrl = "/_themes/MyTheme";
Unlock 70-573 to see the answer
You've previewed enough free 70-573 questions. Unlock 70-573 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.