Microsoft
70-573 · Question #177
70-573 Question #177: Real Exam Question with Answer & Explanation
Sign in or unlock 70-573 to reveal the answer and full explanation for question #177. The question stem and answer options stay visible for context.
Question
You are creating an event receiver. The event receiver will have a field named Title and a field named Priority. You write the following code segment for the event receiver. (Line numbers are included for reference only.) 01 Public Overloads Overrides Sub ItemUpdating(ByVal prop As SPItemEventProperties) 02 MyBase.ItemUpdating(prop) 03 04 05 06 End Sub You need to ensure that when the Title field is changed to include the word IMPORTANT, the Priority field is set to URGENT. Which code segments should you add at lines 03, 04 and 05?
Options
- A03If prop.AfterProperties("vti_title").ToString().
- B03If prop.AfterProperties("vti_title").ToString().
- C03 If prop.BeforeProperties("vti_title").ToString().
- D03 If prop.ListItem("Title").ToString().Contains("IMPORTANT") Then
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.