PrepAway - Latest Free Exam Questions & Answers

Which code segment should you add at line 02?

You have a list named Projects that contains a column named ClassificationMetadat a. You need
to create a Web Part that updates the ClassificationMetadata value to NA for each item in the
Projects list. You write the following code segment. (Line numbers are included for reference
only.) 01For Each currentItem As SPListItem In SPContext.Current.Web.Lists(“Projects”).Items 02
03Next Which code segment should you add at line 02?

PrepAway - Latest Free Exam Questions & Answers

A.
currentItem(“Value”) = “ClassificationMetadata/NA”

B.
currentItem.Fields(“ClassificationMetadata”).DefaultValue = “NA”

C.
currentItem(“ClassificationMetadata”) = “NA”

D.
currentItem.Fields(“ClassificationMetadata”).DefaultFormula = “NA”


Leave a Reply