nerdexam
Microsoft

70-573 · Question #14

70-573 Question #14: Real Exam Question with Answer & Explanation

The correct answer is C. var items = SP.ListOperation.Selection.getSelectedItems();. MNEMONIC RULE: "getSelectedItems" SP.ListOperation.Selection.getSelectedItems() Method

Question

You create a modal dialog that displays a list of items. You need to capture the items selected by a user. Which code segment should you use?

Options

  • ASPItem item = SPContext.Current.Item;
  • Bvar items = SP.ListOperation.Current.Item();
  • Cvar items = SP.ListOperation.Selection.getSelectedItems();
  • Dvar item = SPContext.Current.Item["Selected"];

Explanation

MNEMONIC RULE: "getSelectedItems" SP.ListOperation.Selection.getSelectedItems() Method

Community Discussion

No community discussion yet for this question.

Full 70-573 Practice